Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given"25525511135",return["255.2...
分类:
其他好文 时间:
2014-06-26 00:07:07
阅读次数:
311
使用jquery操作iframe1、 内容里有两个ifameleftiframe中jQuery改变mainiframe的src代码:$("#mainframe",parent.document.body).attr("src","http://www.radys.cn")2、 如果内容里面有一个ID...
分类:
Web程序 时间:
2014-06-26 00:03:47
阅读次数:
229
Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given"25525511135",return["255.2...
分类:
其他好文 时间:
2014-06-25 22:41:33
阅读次数:
274
【问题】
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:
...
分类:
编程语言 时间:
2014-06-24 23:22:53
阅读次数:
331
后缀自动机裸题....
Longest Common Substring
Time Limit: 2000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
[Submit]
[Go Back] [Status]
Description
A st...
分类:
其他好文 时间:
2014-06-24 22:15:40
阅读次数:
240
第一种模式:工厂方式varlev=function(){return"啊打";};functionParent(){varChild=newObject();Child.name="李小龙";Child.age="30";Child.lev=lev;returnChild;};varx=Parent...
分类:
Web程序 时间:
2014-06-24 21:38:10
阅读次数:
285
//父页面调用子页面Add函数$("iframe").contentWindow.Add()//父页面对子页面Id为Sava的Dom元素执行一次单击操作$("iframe").contents().find("#Sava").click();//子页面调用父页面Update()函数parent.Up...
分类:
Web程序 时间:
2014-06-24 21:36:54
阅读次数:
172
题目
Given a string S,
find the longest palindromic substring in S.
You may assume that the maximum length of S is
1000, and there exists one unique longest palindromic substring.
方法
...
分类:
其他好文 时间:
2014-06-24 19:36:55
阅读次数:
212
Given a string, determine if it is a palindrome, considering only alphanumeric
characters and ignoring cases.
For example,
"A man, a plan, a canal: Panama" is a palindrome.
"race a car" i...
分类:
其他好文 时间:
2014-06-24 18:16:02
阅读次数:
147
【题目】
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.
For example,
"A man, a plan, a canal: Panama" is a palindrome.
"race a car" is not a palindrome.
Note:
Have you consider that the string m...
分类:
其他好文 时间:
2014-06-24 15:35:07
阅读次数:
150