码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
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 ...
分类:其他好文   时间:2017-10-26 15:26:39    阅读次数:197
179. 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 n ...
分类:其他好文   时间:2017-10-25 21:32:42    阅读次数:103
445. Add Two Numbers II
You are given two non-empty linked lists representing two non-negative integers. The most significant digit comes first and each of their nodes contai ...
分类:其他好文   时间:2017-10-25 16:42:09    阅读次数:97
2.ADD TWO Numbers
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:其他好文   时间:2017-10-25 00:46:37    阅读次数:155
402. Remove K Digits
Given a non-negative integer num represented as a string, remove k digits from the number so that the new number is the smallest possible. Note: The l ...
分类:其他好文   时间:2017-10-25 00:34:36    阅读次数:151
leetcode练习:258. Add Digits & 415. Add Strings
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is like: ...
分类:其他好文   时间:2017-10-24 20:53:00    阅读次数:172
[LeetCode] Degree of an Array 数组的度
Given a non-empty array of non-negative integers nums, the degree of this array is defined as the maximum frequency of any one of its elements. Your t ...
分类:编程语言   时间:2017-10-24 14:06:10    阅读次数:200
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 ...
分类:其他好文   时间:2017-10-24 13:06:04    阅读次数:132
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... ...
分类:其他好文   时间:2017-10-24 00:13:43    阅读次数:144
2. Add Two Numbers
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:其他好文   时间:2017-10-22 00:31:37    阅读次数:133
2271条   上一页 1 ... 50 51 52 53 54 ... 228 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!