Period
Time Limit: 3000MS
Memory Limit: 30000K
Total Submissions: 13584
Accepted: 6396
Description
For each prefix of a given string S with N characters (each chara...
分类:
其他好文 时间:
2014-11-09 18:11:23
阅读次数:
244
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, but 'fastcar' is not...
分类:
其他好文 时间:
2014-11-09 18:08:19
阅读次数:
140
Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains only n...
分类:
其他好文 时间:
2014-11-09 16:41:17
阅读次数:
122
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-11-09 15:07:01
阅读次数:
129
Validate if a given string is numeric.Some examples:"0"=>true" 0.1 "=>true"abc"=>false"1 a"=>false"2e10"=>trueNote:It is intended for the problem stat...
分类:
其他好文 时间:
2014-11-09 08:36:47
阅读次数:
155
Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains only n...
分类:
其他好文 时间:
2014-11-09 06:19:31
阅读次数:
173
1 class Solution { 2 public: 3 bool isPalindrome(string s) { 4 if(s=="") return true; 5 if(s.length()==1) return true; //单个字符,对称...
分类:
其他好文 时间:
2014-11-08 21:59:37
阅读次数:
242
Given a string and a positive integer d. Some characters may be repeated in the given string. Rearrange characters of the given string such that the s...
分类:
其他好文 时间:
2014-11-08 16:27:57
阅读次数:
186
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, but 'fastcar' is not...
分类:
数据库 时间:
2014-11-08 15:16:07
阅读次数:
150
org.apache.tika.sax.WriteOutContentHandler$WriteLimitReachedException: Your document contained more than 100000 characters, and so your requested limi...
分类:
其他好文 时间:
2014-11-08 11:39:54
阅读次数:
170