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-16 23:42:02
阅读次数:
159
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 ...
分类:
其他好文 时间:
2015-04-16 21:54:27
阅读次数:
126
Write a function to find the longest common prefix string amongst an array of strings. 1 class Solution { 2 public: 3 string longestCommonPrefix(v...
分类:
其他好文 时间:
2015-04-16 21:20:24
阅读次数:
116
1 题目Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letter...
分类:
其他好文 时间:
2015-04-16 19:19:32
阅读次数:
100
题目链接: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 leaf node.
这道题...
分类:
其他好文 时间:
2015-04-16 10:25:57
阅读次数:
123
A -Longest Ordered SubsequenceTime Limit:2000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticePOJ 2533DescriptionA numeric seque...
分类:
其他好文 时间:
2015-04-16 01:25:20
阅读次数:
169
题目:Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest...
分类:
其他好文 时间:
2015-04-15 21:20:54
阅读次数:
101
题目:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters...
分类:
其他好文 时间:
2015-04-15 21:12:09
阅读次数:
125
我的Python 解答:
"""
Programmer : EOF
Date : 2015.04.15
File : lcp.py
E-mail : jasonleaster@gmail.com
"""
"""
Varible Description:
@ret_string : We store the string...
分类:
其他好文 时间:
2015-04-15 17:13:05
阅读次数:
152
WallTime Limit:1000MSMemory Limit:10000KTotal Submissions:31199Accepted:10521DescriptionOnce upon a time there was a greedy King who ordered his chief...
分类:
其他好文 时间:
2015-04-15 10:57:07
阅读次数:
145