码迷,mamicode.com
首页 >  
搜索关键字:longest ordered subs    ( 3212个结果
【leetcode】Maximum Depth of Binary Tree
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 le...
分类:其他好文   时间:2015-04-04 22:22:21    阅读次数:229
Leetcode 199 Binary Tree Right Side View
1.题目要求Given a binary tree, imagine yourself standing on therightside of it, return the values of the nodes you can see ordered from top to bottom.For ...
分类:其他好文   时间:2015-04-04 16:36:31    阅读次数:105
[LeetCode] Binary Tree Right Side View 二叉树的右侧视图
Given a binary tree, imagine yourself standing on therightside of it, return the values of the nodes you can see ordered from top to bottom.For exampl...
分类:其他好文   时间:2015-04-04 16:35:06    阅读次数:102
学习笔记:LeetCode104:Maximum Depth of Binary Tree
LeetCode104:Maximum Depth of Binary TreeGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path fr...
分类:其他好文   时间:2015-04-04 11:52:56    阅读次数:93
LeetCode OJ Binary Tree Right Side View
Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom. For example: Given the following binary tree, 1...
分类:其他好文   时间:2015-04-04 09:10:35    阅读次数:135
Binary Tree Right Side View
Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom. For example: Given the following binary tree, 1...
分类:其他好文   时间:2015-04-04 09:10:27    阅读次数:119
Longest Palindromic Substring
Longest Palindromic Substring问题:Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and th...
分类:其他好文   时间:2015-04-03 17:06:38    阅读次数:112
java.lang 类String
方法摘要1 char charAt(intindex) 返回指定索引处的char值。 index-char值的索引。2 string concat(Stringstr)将指定字符串连接到此字符串的结尾。 str- 连接到此String结尾的String。 subs...
分类:编程语言   时间:2015-04-03 15:06:39    阅读次数:124
Leetcode32. Longest Valid Parentheses
Given a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses substring.For"(()", the longest...
分类:其他好文   时间:2015-04-03 11:10:45    阅读次数:102
LeetCode #Longest Substring Without Repeating Characters#
LeetCode #Longest Substring Without Repeating Characters# 折腾了一回,第一感觉就是没有感觉...这种没技巧的话暴力是不现实的..而后发现其实没有很好理解题目的意 思考过么?究竟什么是最长的子字符串 这里有个很要命的概念, 子字符串,别小看这家伙.是搞定题目的关键. "abcduiwe" 这...
分类:其他好文   时间:2015-04-03 00:18:57    阅读次数:115
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!