码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
369. Plus One Linked List
Given a non-negative number represented as a singly linked list of digits, plus one to the number. The digits are stored such that the most significan ...
分类:其他好文   时间:2016-12-03 15:10:46    阅读次数:219
LeetCode#11. Container With Most Water
问题描述 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 ... ...
分类:其他好文   时间:2016-12-03 12:24:32    阅读次数:144
42. 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. ...
分类:移动开发   时间:2016-12-03 08:00:50    阅读次数:220
[HDU3709]Balanced Number
[HDU3709]Balanced Number 试题描述 A balanced number is a non-negative integer that can be balanced if a pivot is placed at some digit. More specifically, ...
分类:其他好文   时间:2016-12-02 22:00:06    阅读次数:298
11. Container With Most Water
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 endpo... ...
分类:其他好文   时间:2016-11-30 11:26:51    阅读次数:281
[LintCode] Container With Most Water 装最多水的容器
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 endpo ...
分类:其他好文   时间:2016-11-30 03:37:22    阅读次数:154
LeetCode 338. Counting Bits
Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1's in their binary representation and r ...
分类:其他好文   时间:2016-11-30 02:31:27    阅读次数:178
445. Add Two Numbers II
You are given two linked lists representing two non-negative numbers. The most significant digit comes first and each of their nodes contain a single ...
分类:其他好文   时间:2016-11-28 09:34:13    阅读次数:252
89. Gray 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 num ...
分类:其他好文   时间:2016-11-27 08:04:25    阅读次数:188
2. 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 ... ...
分类:其他好文   时间:2016-11-26 14:59:51    阅读次数:133
2271条   上一页 1 ... 76 77 78 79 80 ... 228 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!