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 numb...
分类:
其他好文 时间:
2015-03-05 14:34:25
阅读次数:
127
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-03-05 12:54:08
阅读次数:
195
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 num...
分类:
其他好文 时间:
2015-03-05 10:40:39
阅读次数:
123
https://oj.leetcode.com/problems/add-two-numbers/ You are given two linked lists representing two non-negative numbers. The digits are stored in rever...
分类:
其他好文 时间:
2015-03-03 23:32:43
阅读次数:
179
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-03-03 18:15:30
阅读次数:
130
#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...
分类:
其他好文 时间:
2015-03-03 13:46:26
阅读次数:
154
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 goal is t...
分类:
编程语言 时间:
2015-03-03 09:59:06
阅读次数:
165
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 ...
分类:
编程语言 时间:
2015-03-03 09:58:55
阅读次数:
134
Problem Description
A balanced number is a non-negative integer that can be balanced if a pivot is placed at some digit. More specifically, imagine each digit as a box with weight indicated by the dig...
分类:
其他好文 时间:
2015-03-01 21:05:16
阅读次数:
134
题目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 if you a...
分类:
其他好文 时间:
2015-02-28 23:05:45
阅读次数:
276