码迷,mamicode.com
首页 >  
搜索关键字:characters    ( 2378个结果
Leetcode 栈 Valid Parentheses
Valid Parentheses  Total Accepted: 17916 Total Submissions: 63131My Submissions Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input stri...
分类:其他好文   时间:2014-09-07 16:03:05    阅读次数:168
Leetcode 细节实现 Length of Last Word
Length of Last Word  Total Accepted: 17518 Total Submissions: 59526My Submissions Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the lengt...
分类:其他好文   时间:2014-09-07 16:02:15    阅读次数:197
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: Pana...
分类:其他好文   时间:2014-09-07 12:15:55    阅读次数:292
PAT 1084 Broken Keyboard
PAT 1084 Broken Keyboard题目:On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those...
分类:其他好文   时间:2014-09-07 10:54:05    阅读次数:234
Valid Parentheses
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in the c...
分类:其他好文   时间:2014-09-06 16:04:13    阅读次数:191
LeetCode: Minimum Window Substring
LeetCode: Minimum Window SubstringGiven a string S and a string T, find the minimum window in S which will contain all the characters in T in complexi...
分类:Windows程序   时间:2014-09-04 22:13:50    阅读次数:292
Longest Valid Parentheses
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.For "(()", the lon...
分类:其他好文   时间:2014-09-03 22:30:07    阅读次数:211
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-09-03 22:29:47    阅读次数:253
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-09-03 10:59:16    阅读次数:183
calculate the number of characters-统计文件中的字符数,非空白字符数,字母数,输入到文件和屏幕:
calculatethenumberofcharacters-统计文件中的字符数,非空白字符数,字母数,输入到文件和屏幕://calculatethenumberofcharacters-统计文件中的字符数,非空白字符数,字母数,输入到文件和屏幕: #include<iostream> #include<fstream> #include<cstdlib>..
分类:其他好文   时间:2014-09-03 02:44:56    阅读次数:227
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!