Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2014-10-01 09:59:00
阅读次数:
245
Given a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses substring.For"(()", the longest...
分类:
编程语言 时间:
2014-10-01 02:49:20
阅读次数:
232
https://oj.leetcode.com/problems/valid-parentheses/Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the inp...
分类:
编程语言 时间:
2014-10-01 01:40:20
阅读次数:
256
一说起通配符,大家很快就会想起*和?号,有了通配符,使得表达能力大大增强,很多linux命令都支持这个东西,其实就是glob style pattern.
就连redis的keys命令都支持glob.
我要实现的glob,支持以下特性:
星号*匹配0个或多个任意字符?匹配确切的一个任意字符[characters]匹配任意一个方括号内的字符,比如[abc],要么匹配a,要么匹配b,要么...
分类:
编程语言 时间:
2014-09-29 12:48:50
阅读次数:
229
A text file is a sequence of characters stored on a permanent medium like a hard drive, flash memory, or CD-ROM. To read a file, you can use open to c...
分类:
其他好文 时间:
2014-09-23 02:45:53
阅读次数:
267
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
编程语言 时间:
2014-09-22 23:29:43
阅读次数:
231
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.
For "(()", the longest valid parentheses substring is "()", which ...
分类:
其他好文 时间:
2014-09-22 03:21:11
阅读次数:
264
1、绕过过滤 a、利用标记注入HTML/JavaScript :所以过滤的就是或注:这里不用ie低版本了;更多的可以进行变形 d、对标签属性值转码 HTML Characters编码; e、产生自己的事件 其余的事件: onResume onReverse onRowD...
分类:
其他好文 时间:
2014-09-21 18:15:30
阅读次数:
321
字符串和字符(Strings and Characters)本页包含内容:字符串字面量初始化空字符串字符串可变性字符串是值类型使用字符计算字符数量连接字符串和字符字符串插值比较字符串字符串大小写UnicodeString是例如“hello, world”,“海贼王” 这样的有序的Character(...
分类:
其他好文 时间:
2014-09-20 01:08:36
阅读次数:
256
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-09-19 06:35:45
阅读次数:
233