码迷,mamicode.com
首页 >  
搜索关键字:characters    ( 2378个结果
【leetcode】Valid Parentheses
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
ECMA5.1中关于encodeURI,decodeURI 和encodeComponentURI,decodeComponentURI的区别
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
uva 458 - The Decoder
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
LeetCode:Length of Last Word
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
UVa 11583 Partitioning by Palindromes
?? 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
LeetCode——Valid Parentheses
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
[LeetCode] Length of Last Word
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
Lists and strings
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
Valid Parentheses
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
LeetCode——Valid Palindrome
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!