题目:
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 it ...
分类:
编程语言 时间:
2015-01-18 18:38:24
阅读次数:
275
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,3,2,1,2,1]...
分类:
移动开发 时间:
2015-01-18 17:12:30
阅读次数:
165
【题目】
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.
Note: The result...
分类:
其他好文 时间:
2015-01-18 14:27:55
阅读次数:
234
原题地址:https://oj.leetcode.com/problems/largest-number/题目内容:Given a list of non negative integers, arrange them such that they form the largest number.F...
分类:
其他好文 时间:
2015-01-18 02:01:27
阅读次数:
237
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 endpoints of line i is at (i, ai) and (i,
0). Fin...
分类:
其他好文 时间:
2015-01-17 23:33:30
阅读次数:
190
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 ...
分类:
其他好文 时间:
2015-01-17 22:12:46
阅读次数:
168
题目:
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.
Your...
分类:
编程语言 时间:
2015-01-17 18:12:27
阅读次数:
239
题目:
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...
分类:
编程语言 时间:
2015-01-17 13:59:48
阅读次数:
200
The problem:The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the ...
分类:
其他好文 时间:
2015-01-17 06:19:58
阅读次数:
177
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.注意下k>...
分类:
其他好文 时间:
2015-01-16 23:39:21
阅读次数:
193