Description
Given an undirected weighted graph G, you should find one of spanning trees specified as follows.
The graph G is an ordered pair (V, E), where V is a set of vertices {v1,
v2, …, vn}...
分类:
其他好文 时间:
2014-07-27 11:48:33
阅读次数:
312
The “Hype Cycle for Emerging Technologies” report is the longest-running annual Hype Cycle, providing a cross-industry perspective on the technologies...
分类:
其他好文 时间:
2014-07-27 11:00:12
阅读次数:
290
英文稿:The “Hype Cycle for Emerging Technologies” report is the longest-running annual Hype Cycle, providing a cross-industry perspective on the technolo...
分类:
其他好文 时间:
2014-07-27 10:59:02
阅读次数:
413
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2014-07-27 10:25:42
阅读次数:
179
题目: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 lon....
分类:
编程语言 时间:
2014-07-26 14:50:11
阅读次数:
226
题目:Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.For "(()", the....
分类:
编程语言 时间:
2014-07-26 09:55:27
阅读次数:
204
Description
There is a sequence of integers. Your task is to find the longest subsequence that satisfies the following condition: the difference between the maximum element and the minimum element ...
分类:
其他好文 时间:
2014-07-25 11:06:41
阅读次数:
242
Problem Description
A numeric sequence of ai is ordered if a1 < a2 < ... < aN. Let the subsequence of the given numeric sequence (a1, a2, ..., aN) be any sequence (ai1, ai2, ..., aiK), where 1 <= i1 ...
分类:
其他好文 时间:
2014-07-25 11:04:41
阅读次数:
253
Comparison-based sorting takes O(nlgn), so hashset is a good idea. After keeping records of all numbers in the hashset, you start checking each number...
分类:
其他好文 时间:
2014-07-25 03:40:54
阅读次数:
305
随机挑选一题试试手气。 问题描述: Given an unsorted array of integers, find the length of the longest consecutive elements sequence. For example, Given [100, 4, 200, ...
分类:
其他好文 时间:
2014-07-24 21:55:32
阅读次数:
232