码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
[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...
分类:移动开发   时间:2014-11-24 20:55:26    阅读次数:196
[leetcode]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 represents your maximum jump length at that position. Your...
分类:其他好文   时间:2014-11-24 20:51:50    阅读次数:171
[LeetCode] 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 ...
分类:其他好文   时间:2014-11-24 09:50:10    阅读次数:168
[leetcode] 15. Plus One
这道题其实让我意识到了我的英文水平还有待加强。。。。 题目如下: Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such tha...
分类:其他好文   时间:2014-11-24 00:41:04    阅读次数:217
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 represents your maximu...
分类:其他好文   时间:2014-11-23 18:56:31    阅读次数:122
【leetcode】Plus One (easy)
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...
分类:其他好文   时间:2014-11-23 14:21:27    阅读次数:140
HDU 3709 Balanced Number
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 ...
分类:其他好文   时间:2014-11-23 00:44:31    阅读次数:244
HDU 3652 B-number
Problem Description A wqb-number, or B-number for short, is a non-negative integer whose decimal form contains the sub- string "13" and can be divided by 13. For example, 130 and 2613 are wqb-numbe...
分类:其他好文   时间:2014-11-22 21:36:21    阅读次数:212
Minimum Path Sum
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 right at...
分类:其他好文   时间:2014-11-22 14:45:18    阅读次数:141
Gray Code
The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the total number...
分类:其他好文   时间:2014-11-21 20:24:19    阅读次数:190
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!