码迷,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-10-25 14:18:46    阅读次数:178
[LeetCode] Longest Substring Without Repeating Characters (LinkedHashSet的妙用)
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. Fo...
分类:其他好文   时间:2014-10-25 07:04:13    阅读次数:208
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-10-24 13:00:38    阅读次数:170
[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-10-24 12:28:03    阅读次数:211
过滤特殊输入字符(Java)
Arbitrary text placed in an HTML tag often needs to be altered, to ensure that the resulting HTML remains valid.Problem characters can include:"'\&The...
分类:编程语言   时间:2014-10-24 09:09:45    阅读次数:320
java 删除字符串中的特定字符
/** * Delete any character in a given String. * @param inString the original String * @param charsToDelete a set of characters to dele...
分类:编程语言   时间:2014-10-24 06:52:59    阅读次数:217
[LeetCode] Length of Last Word
今天又舔着脸开始LeetCode的征程了,本来是写在CSDN的,无奈遇上他家博客老是在升级中。。。题目:Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the...
分类:其他好文   时间:2014-10-24 00:11:43    阅读次数:151
leetcode第31题--Longest Valid Parentheses
Given a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses substring.For"(()", the longest...
分类:其他好文   时间:2014-10-22 23:32:51    阅读次数:235
栈的应用题(1)
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-10-22 22:02:58    阅读次数:227
回文题
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-10-21 23:16:15    阅读次数:293
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!