码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
[LeetCode] Grey Code 格雷码
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
LeetCode Trapping Rain Water
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
Largest Number
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
[LeetCode] Add Two Numbers
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
Add Two Numbers
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
leetcode--2
#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
45. Jump Game II Leetcode Python
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
55. Jump Game Leetcode Python
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
hdu3709---Balanced Number(数位dp)
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
[LeetCode]55.Jump Game
题目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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!