2015 UESTC Training for Search Algorithm & String
分类:
其他好文 时间:
2015-05-13 06:06:09
阅读次数:
187
2015 UESTC Training for Search Algorithm & String
分类:
其他好文 时间:
2015-05-13 06:05:24
阅读次数:
250
一、PHP的变量类型PHP的变量类型有8种:标准类型:布尔boolen,整型integer,浮点float,字符string复杂类型:数组array,对象object特殊类型:资源resource PHP不会严格检验变量类型,变量可以不显示的声明其类型,而在运行期间直接赋值。也可以将变量自由的转换类...
分类:
Web程序 时间:
2015-05-13 00:39:42
阅读次数:
218
定义一个JavaBean类Person:package ccc.json;public class Person { Integer id; String name; String place; public Person(Integer id, String name, S...
分类:
其他好文 时间:
2015-05-13 00:39:18
阅读次数:
121
接着上一篇随笔讨论。如果selector是其他字符串情况就比较多了比较复杂了// Handle HTML stringsif ( typeof selector === "string" ) {...} 开始分不同的情况处理// Are we dealing with HTML string or ...
分类:
Web程序 时间:
2015-05-13 00:37:21
阅读次数:
166
private boolean fun(String link)try{ Url url = new Url(link); if(url.getHost()!=null){ return true; }else{ return false; }}catch(Exception e...
分类:
其他好文 时间:
2015-05-13 00:34:07
阅读次数:
162
Longest Palindromic SubstringGiven 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 substrin...
分类:
其他好文 时间:
2015-05-12 23:09:34
阅读次数:
163
FileFile能新建,删除,重命名文件和目录,但是不能查看文件内容。构造方法public File(string pathName);//以path路径创建对象public File(String parent, String child);//以parent为父路径,child为子路径创建File对象UNIX下路径分隔符为’/’, windows为’\’或者’/’一个程序了解File类//在D盘...
分类:
编程语言 时间:
2015-05-12 23:09:15
阅读次数:
128
The string “PAYPALISHIRING” is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)
P—–A—–H—–N
A–P–L–S–I—I–G...
分类:
其他好文 时间:
2015-05-12 23:03:53
阅读次数:
218
function stringformat() { var args = Array.prototype.slice.call(arguments); if (args.length == 0) { return '';} if (args.length == 1) { ...
分类:
编程语言 时间:
2015-05-12 22:51:57
阅读次数:
159