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
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
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题目: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
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 SubstringGiven a string S and a string T, find the minimum window in S which will contain all the characters in T in complexi...
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
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
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
calculatethenumberofcharacters-统计文件中的字符数,非空白字符数,字母数,输入到文件和屏幕://calculatethenumberofcharacters-统计文件中的字符数,非空白字符数,字母数,输入到文件和屏幕:
#include<iostream>
#include<fstream>
#include<cstdlib>..
分类:
其他好文 时间:
2014-09-03 02:44:56
阅读次数:
227