题目描述:
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return i...
分类:
其他好文 时间:
2014-11-21 12:42:05
阅读次数:
241
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 maximu...
分类:
其他好文 时间:
2014-11-20 23:32:37
阅读次数:
254
Given a list, rotate the list to the right bykplaces, wherekis non-negative.For example:Given1->2->3->4->5->NULLandk=2,return4->5->1->2->3->NULL.注意:当给...
分类:
其他好文 时间:
2014-11-20 20:01:05
阅读次数:
147
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.
原题链接:https://oj.leetcode.com/proble...
分类:
其他好文 时间:
2014-11-20 13:46:09
阅读次数:
92
问题描述:
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 ...
分类:
其他好文 时间:
2014-11-19 22:23:49
阅读次数:
150
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.
Determine i...
分类:
编程语言 时间:
2014-11-19 18:51:35
阅读次数:
226
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.
Determine i...
分类:
其他好文 时间:
2014-11-19 12:35:24
阅读次数:
130
问题描述:
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.
Dete...
分类:
其他好文 时间:
2014-11-19 11:16:51
阅读次数:
145
题目描述:
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.
思路:先将list...
分类:
其他好文 时间:
2014-11-19 11:04:49
阅读次数:
175
Updating a DictionaryIn this problem, a dictionary is collection of key-value pairs, where keys are lower-case letters, and values are non-negative in...
分类:
其他好文 时间:
2014-11-19 07:04:07
阅读次数:
223