Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2014-11-28 06:10:44
阅读次数:
172
题目:
Given a string containing just the characters '(' and ')',
find the length of the longest valid (well-formed) parentheses substring.
For "(()", the longest valid parentheses substrin...
分类:
其他好文 时间:
2014-11-27 23:42:23
阅读次数:
196
Text JustificationGiven an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) j...
分类:
其他好文 时间:
2014-11-27 23:29:28
阅读次数:
352
问题描述:
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is ...
分类:
其他好文 时间:
2014-11-27 20:32:31
阅读次数:
135
到jpython2.5.3文件下,找到registry文件,将里面的内容这个部分修改 修改前: # Setting this to a valid codec name will cause the console to use a # different encoding when reading commands from the c...
分类:
编程语言 时间:
2014-11-27 19:01:06
阅读次数:
319
Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given"25525511135",return["255.2...
分类:
其他好文 时间:
2014-11-27 18:16:58
阅读次数:
170
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 nodes with keys less than the node's key.Th...
分类:
其他好文 时间:
2014-11-27 16:30:19
阅读次数:
226
Evaluate the value of an arithmetic expression in Reverse Polish Notation.
Valid operators are +, -, *, /.
Each operand may be an integer or another expression.
Some examples:
["2", "1", ...
分类:
其他好文 时间:
2014-11-27 14:42:26
阅读次数:
197
Evaluate Reverse Polish NotationEvaluate the value of an arithmetic expression in Reverse Polish Notation.Valid operators are +, -, *, /. Each operand...
分类:
其他好文 时间:
2014-11-26 22:25:26
阅读次数:
478
Clarification:What constitutes a word?A sequence of non-space characters constitutes a word.Could the input string contain leading or trailing spaces?...
分类:
其他好文 时间:
2014-11-26 20:37:05
阅读次数:
142