前面的性能高使用[pscustomobject][ordered]强制类型转换[pscustomobject][ordered]@{Name= 'Boe'Number = 1ID = 007}使用[pscustomobject]强制类型转换[pscustomobject]@{Name= 'Boe'N...
分类:
其他好文 时间:
2014-06-28 10:40:14
阅读次数:
166
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2014-06-27 12:48:10
阅读次数:
238
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 longes...
分类:
其他好文 时间:
2014-06-27 12:46:45
阅读次数:
238
Write a function to find the longest common prefix string amongst an array of strings.public class Solution { public String longestCommonPrefix(Str...
分类:
其他好文 时间:
2014-06-25 17:03:03
阅读次数:
331
基本理论$\bf(Egoroff定理)$设$E$为测度有限的可测集,${f_n}\left( x \right)$为$E$上的可测函数列.若${f_n}\left( x \right)$在$E$上几乎处处收敛于$f(x)$,则对任给的$\delta > 0$,存在${E_\delta } \subs...
分类:
其他好文 时间:
2014-06-25 13:17:54
阅读次数:
197
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.For "(()", the lon...
分类:
其他好文 时间:
2014-06-25 11:07:45
阅读次数:
230
【题目】
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.
For example,
Given [100, 4, 200, 1, 3, 2],
The longest consecutive elements sequence is [1, 2, 3, 4]. Return its length: 4.
Your algorithm should run...
分类:
其他好文 时间:
2014-06-25 07:55:42
阅读次数:
244
后缀自动机裸题....
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
题目
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
二叉查找树(Binary Search Tree),也称有序二叉树(ordered binary tree),排序二叉树(sorted binary tree),是指一棵空树或者具有下列性质的二叉树:若任意节点的左子树不空,则左子树上所有结点的值均小于它的根结点的值;任意节点的右子树不空,则右子树上...
分类:
其他好文 时间:
2014-06-24 12:21:17
阅读次数:
257