Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ...
分类:
其他好文 时间:
2015-04-02 09:03:25
阅读次数:
120
Plus One
Given a non-negative number represented as an array of digits, plus one to the number.
The digits are stored such that the most significant digit is at the head of the list.
解题思路:...
分类:
其他好文 时间:
2015-04-02 01:20:13
阅读次数:
152
1 Avoid mixed clock edgesGuideline 01 Avoid using both positive-edge and negative-edge triggered flip-flops. If must use both positive-edge and neg...
分类:
其他好文 时间:
2015-04-01 23:41:27
阅读次数:
209
Given a list of non negative integers, arrange them such that they form the largest number.
For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330.
两两比较 可以利用sort函数来排序,自定义comp...
分类:
其他好文 时间:
2015-04-01 19:59:41
阅读次数:
120
题目:leetcode
Jump Game II
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump...
分类:
编程语言 时间:
2015-04-01 17:50:59
阅读次数:
200
问题起源于编程珠玑Column 12中的题目10,其描述如下: How could you select one of n objects at random, where you see the objects sequentially but you do not know the value....
分类:
其他好文 时间:
2015-04-01 17:27:31
阅读次数:
193
problem:
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that...
分类:
其他好文 时间:
2015-04-01 11:25:02
阅读次数:
110
The Central Limit Theorem (CLT), and the concept of the sampling distribution, are critical for understanding why statistical inference works. There a...
分类:
其他好文 时间:
2015-03-31 12:37:17
阅读次数:
157
Given a non-negative number represented as an array of digits, plus one to the number.
The digits are stored such that the most significant digit is at the head of the list.
题意:大数加法。
class Soluti...
分类:
其他好文 时间:
2015-03-30 16:33:20
阅读次数:
91
problem:
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that posi...
分类:
其他好文 时间:
2015-03-30 11:19:34
阅读次数:
93