Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path. ...
分类:
编程语言 时间:
2016-10-11 13:49:23
阅读次数:
149
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist ...
分类:
其他好文 时间:
2016-10-10 19:10:30
阅读次数:
137
Given two non-negative numbers num1 and num2 represented as string, return the sum of num1 and num2. Note: 这道题让我们求两个字符串的相加,之前LeetCode出过几道类似的题目,比如二进制数相 ...
分类:
其他好文 时间:
2016-10-10 01:12:31
阅读次数:
204
Description There is a curious man called Matt. One day, Matt's best friend Ted is wandering on the non-negative half of the number line. Matt finds i ...
分类:
其他好文 时间:
2016-10-09 19:56:07
阅读次数:
143
Given a list, rotate the list to the right by k places, where k is non-negative. For example:Given 1->2->3->4->5->NULL and k = 2,return 4->5->1->2->3- ...
分类:
其他好文 时间:
2016-10-09 07:23:11
阅读次数:
202
The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total num ...
分类:
其他好文 时间:
2016-10-09 07:18:32
阅读次数:
198
Given a list, rotate the list to the right by k places, where k is non-negative. For example:Given 1->2->3->4->5->NULL and k = 2,return 4->5->1->2->3- ...
分类:
编程语言 时间:
2016-10-09 00:12:25
阅读次数:
209
B-number Problem Description A wqb-number, or B-number for short, is a non-negative integer whose decimal form contains the sub- string "13" and can b ...
分类:
其他好文 时间:
2016-10-08 23:58:23
阅读次数:
865
Description: Count the number of prime numbers less than a non-negative number, n. 刷了一周的python, 希望明天把blackjack和最后的游戏做出来。 思路: 比较巧妙,用inner loop从头开始mark不 ...
分类:
其他好文 时间:
2016-10-08 19:23:23
阅读次数:
149
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 n ...
分类:
其他好文 时间:
2016-10-08 16:30:15
阅读次数:
115