码迷,mamicode.com
首页 >  
搜索关键字:characters    ( 2378个结果
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-11-18 23:56:33    阅读次数:254
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 "()[]{}" a...
分类:其他好文   时间:2014-11-18 11:54:07    阅读次数:173
Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2014-11-17 22:29:25    阅读次数:242
Determine whether an integer is a palindrome. Do this without extra space.
看到这个题目的时候,首先不认识 Determine这个单词,英文不好没办法,查了下是确认的意思,然后不懂 palindrome这个单词, 查了下是回文的意思。 问题是 回文是个什么东西,官方解释: A palindrome is a word, phrase, number, or other sequence of characters which reads the same b...
分类:其他好文   时间:2014-11-17 01:45:30    阅读次数:220
leetcode. Wildcard Matching
Implement wildcard pattern matching with support for'?'and'*'.'?' Matches any single character.'*' Matches any sequence of characters (including the e...
分类:其他好文   时间:2014-11-16 11:57:11    阅读次数:145
leetcode[76] Minimum Window Substring
给定两个串,S和T,在S中找到包含T的最短子串,如果不能包含,返回空字符。Given a string S and a string T, find the minimum window in S which will contain all the characters in T in compl...
分类:Windows程序   时间:2014-11-16 01:48:32    阅读次数:349
[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-11-15 15:23:46    阅读次数:179
[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-11-15 12:50:41    阅读次数:191
Leetcode-Wildcard Matching
'?' Matches any single character.'*' Matches any sequence of characters (including the empty sequence).The matching should cover the entire input stri...
分类:其他好文   时间:2014-11-15 06:35:33    阅读次数:152
MyEclipse JSP页面中文字符不能保存
问题:就是写HTML+JSP代码时有些中文,保存时提示sava could not be completed.Reason:some characters cannot be mapped using "ISO-8859-1" character encoding.Either change the...
分类:Web程序   时间:2014-11-14 22:28:25    阅读次数:288
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!