Jump GameGiven an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents yo...
分类:
其他好文 时间:
2014-10-21 12:11:42
阅读次数:
222
Add Two NumbersYou are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes co...
分类:
其他好文 时间:
2014-10-20 18:50:54
阅读次数:
111
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->...
分类:
其他好文 时间:
2014-10-20 11:19:05
阅读次数:
173
Number Steps
Time Limit: 1000ms Memory limit: 10000K 有疑问?点这里^_^
题目描述
Starting from point (0,0) on a plane, we have written all non-negative integers 0, 1, 2,... as shown in the...
分类:
其他好文 时间:
2014-10-19 21:29:03
阅读次数:
183
【题目】
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.
Note: You can only move either down o...
分类:
其他好文 时间:
2014-10-19 21:25:37
阅读次数:
247
//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 i...
分类:
其他好文 时间:
2014-10-19 19:47:29
阅读次数:
241
Minimum Path Sum
Total Accepted: 19916 Total
Submissions: 63796My Submissions
Question
Solution
Given a m x n grid filled with non-negative numbers, find a path from top left to b...
分类:
其他好文 时间:
2014-10-19 13:03:26
阅读次数:
162
Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along its path.Note:Yo...
分类:
其他好文 时间:
2014-10-18 19:43:01
阅读次数:
179
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.
Note: You can only move either down or right at...
分类:
其他好文 时间:
2014-10-17 23:26:43
阅读次数:
231
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo...
分类:
其他好文 时间:
2014-10-17 00:04:43
阅读次数:
304