码迷,mamicode.com
首页 >  
搜索关键字:longest ordered subs    ( 3212个结果
LeetCode Longest Palindromic Substring
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:其他好文   时间:2014-12-14 00:38:30    阅读次数:161
Leetcode-Longest Substring with At Most Two Distinct Characters.
Given a string, find the length of the longest substring T that contains at most 2 distinct characters.For example, Given s = “eceba”,T is "ece" which...
分类:其他好文   时间:2014-12-13 06:07:09    阅读次数:137
LeetCode 刷题之二:寻找二叉树的最大深度
题目为: Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. 阶梯思路:对于这种题目最简单的方法就是递归操作了...
分类:其他好文   时间:2014-12-12 23:40:13    阅读次数:374
Longest Substring Without Repeating Characters -- leetcode
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 3. Fo...
分类:其他好文   时间:2014-12-12 11:49:07    阅读次数:132
Leetcode-Longest Consecutive Sequence
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 longes...
分类:其他好文   时间:2014-12-12 06:43:52    阅读次数:120
Longest Substring Without Repeating Characters
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 3. Fo...
分类:其他好文   时间:2014-12-11 22:33:05    阅读次数:403
如何诊断cursor pin s wait on x 系列二
如何分析诊断收集信息 1.       查看AWR 报告中high paring 和high version部分内容   具体查看这几个部分的内容:'SQLordered by Parse Calls' or 'SQL ordered by Version Count'     SQL ordered by Parse Calls 关于这部分中的sql 解析执行是否过高,或者...
分类:其他好文   时间:2014-12-10 14:16:56    阅读次数:249
LeetCode Longest Consecutive Sequence
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 ...
分类:其他好文   时间:2014-12-10 01:41:06    阅读次数:194
Leetcode: Longest Palindromic Substring
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:其他好文   时间:2014-12-09 13:44:16    阅读次数:210
Leetcode: Longest Common Prefix
Write a function to find the longest common prefix string amongst an array of strings.分析:这道题没什么好方法,暴力搜索比较即可,在用C++实现时有一个小trick就是"Ifposis equal to thest...
分类:其他好文   时间:2014-12-09 13:42:01    阅读次数:143
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!