Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in the correct ...
分类:
其他好文 时间:
2014-07-22 22:52:56
阅读次数:
222
The encodeURI and decodeURI functions are intended to work with complete URIs; theyassume that any reserved characters in the URI are intended to have...
分类:
其他好文 时间:
2014-07-22 22:49:54
阅读次数:
254
The DecoderWrite a complete program that will correctly decode a set of characters into a valid message. Your program should read a given file of a si...
分类:
其他好文 时间:
2014-07-22 00:38:34
阅读次数:
235
Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word doe...
分类:
其他好文 时间:
2014-07-19 22:36:30
阅读次数:
149
??
Description
Problem H: Partitioning by Palindromes
We say a sequence of characters is a palindrome if it is the same written forwards and backwards. For example, 'racecar' is a palindrome,...
分类:
其他好文 时间:
2014-07-18 15:13:10
阅读次数:
266
Given a string containing just the characters '(', ')', '{', '}', '[' and ']',
determine if the input string is valid.
The brackets must close in the correct order, "()" and "()[]{}" are
all va...
分类:
其他好文 时间:
2014-07-17 10:18:17
阅读次数:
181
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the last word ...
分类:
其他好文 时间:
2014-07-16 14:23:00
阅读次数:
278
A string is a sequence of characters and a list is a sequence of values, but a list of characters is not the same as a string. To convert from a strin...
分类:
其他好文 时间:
2014-07-15 09:00:12
阅读次数:
244
Given a string containing just the characters '(', ')', '{', '}', '[' and ']',
determine if the input string is valid.
The brackets must close in the correct order, "()" and "()[]{}" are
all va...
分类:
其他好文 时间:
2014-07-13 16:11:26
阅读次数:
144
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.
For example,
"A man, a plan, a canal: Panama" is a palindrome.
"race a car" is not a ...
分类:
其他好文 时间:
2014-07-12 20:10:54
阅读次数:
165