码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
179. Largest Number
Given a list of non negative integers, arrange them such that they form the largest number. Example 1: Input: [10,2] Output: "210" Example 2: Input: [ ...
分类:其他好文   时间:2018-10-30 10:20:13    阅读次数:155
leetcode-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 ...
分类:其他好文   时间:2018-10-27 15:22:19    阅读次数:117
84. Largest Rectangle in Histogram
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist ...
分类:其他好文   时间:2018-10-25 14:18:47    阅读次数:165
[LeetCode] 69. Sqrt(x)
Implement int sqrt(int x). Compute and return the square root of x, where x is guaranteed to be a non-negative integer. Since the return type is an in ...
分类:其他好文   时间:2018-10-20 23:53:22    阅读次数:288
[leetcode]273. Integer to English Words 整数转英文单词
Convert a non-negative integer to its english words representation. Given input is guaranteed to be less than 231 - 1. Example 1: Input: 123Output: "O ...
分类:其他好文   时间:2018-10-18 10:52:29    阅读次数:144
43. Multiply Strings
Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string. Example 1: Ex ...
分类:其他好文   时间:2018-10-16 20:21:31    阅读次数:189
[leetcode]258.Add Digits
题目 Given a non negative integer num, repeatedly add all its digits until the result has only one digit. Example: Input: 38 Output: 2 Explanation: The ...
分类:其他好文   时间:2018-10-15 11:47:13    阅读次数:131
69. Sqrt(x)
Implement int sqrt(int x). Compute and return the square root of x, where x is guaranteed to be a non-negative integer. Since the return type is an in ...
分类:其他好文   时间:2018-10-14 19:02:20    阅读次数:151
[leetcode]204.Count Primes
题目 Count the number of prime numbers less than a non negative number, n. Example: Input: 10 Output: 4 Explanation: There are 4 prime numbers less than ...
分类:其他好文   时间:2018-10-12 13:54:06    阅读次数:120
[LeetCode] 738. Monotone Increasing Digits
Given a non-negative integer N, find the largest number that is less than or equal to N with monotone increasing digits. (Recall that an integer has m ...
分类:其他好文   时间:2018-10-11 23:44:51    阅读次数:216
2271条   上一页 1 ... 25 26 27 28 29 ... 228 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!