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-12-09 19:32:25
阅读次数:
149
原题地址:https://oj.leetcode.com/problems/jump-game-ii/题目内容:Given an array of non-negative integers, you are initially positioned at the first index of th...
分类:
其他好文 时间:
2014-12-09 19:10:31
阅读次数:
159
题目
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->NULL.
解答
题目要求对链表循环右移k的位置,注意k可能会大...
分类:
其他好文 时间:
2014-12-09 17:55:03
阅读次数:
144
【题目】
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 position.
Y...
分类:
其他好文 时间:
2014-12-09 17:46:14
阅读次数:
133
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-12-09 17:22:30
阅读次数:
142
【题目】
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 position.
D...
分类:
其他好文 时间:
2014-12-09 10:37:18
阅读次数:
114
【题目】
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.
For example,
Given [0,1,0,2,1,0,1,...
分类:
移动开发 时间:
2014-12-08 15:32:44
阅读次数:
233
问题描述:
Given two numbers represented as strings, return multiplication of the numbers as a string.
Note: The numbers can be arbitrarily large and are non-negative.
基本思路:
大数乘法,此题如果用java的BigInteg...
分类:
其他好文 时间:
2014-12-07 12:38:10
阅读次数:
136
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 represent...
分类:
其他好文 时间:
2014-12-06 22:42:02
阅读次数:
235
题目网址:https://oj.leetcode.com/problems/add-two-numbers/题目描述:You are given two linked lists representing two non-negative numbers. The digits are stored...
分类:
其他好文 时间:
2014-12-06 20:19:23
阅读次数:
196