先上题目:
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...
分类:
编程语言 时间:
2015-05-28 09:32:29
阅读次数:
206
题目:Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given"25525511135",return["25...
分类:
其他好文 时间:
2015-05-28 09:17:01
阅读次数:
169
题目描述
Given a binary tree, determine if it is a valid binary search tree (BST)....
分类:
其他好文 时间:
2015-05-27 21:14:02
阅读次数:
175
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example,"A man, a plan, a canal: Pan...
分类:
编程语言 时间:
2015-05-26 20:30:35
阅读次数:
172
TinyMCE在粘贴含有style属性的HTML代码时,会自动清除style属性,设置 extended_valid_elements 也只能在Firefox浏览器起作用,Chrome无效。 extended_valid_elements: ‘div[style|class|id]‘ Chrome下即使设置了...
分类:
Web程序 时间:
2015-05-26 19:19:17
阅读次数:
714
题目:Given a stringsand a dictionary of wordsdict, add spaces insto construct a sentence where each word is a valid dictionary word.Return all such poss...
分类:
编程语言 时间:
2015-05-26 12:03:12
阅读次数:
162
Find thekth largest element in an unsorted array.For example,Given[3,2,1,5,6,4]and k = 2, return 5.Note:You may assume k is always valid, 1 ≤ k ≤ arra...
分类:
其他好文 时间:
2015-05-23 12:50:52
阅读次数:
134
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...
分类:
其他好文 时间:
2015-05-22 10:59:39
阅读次数:
84
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in the c...
分类:
其他好文 时间:
2015-05-22 09:24:19
阅读次数:
100
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...
分类:
编程语言 时间:
2015-05-21 22:32:43
阅读次数:
187