码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
leetcode 42. Trapping Rain Water
link 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 rai ...
分类:移动开发   时间:2017-10-03 16:58:28    阅读次数:216
61. Rotate List
61. Rotate List 61. Rotate List 61. Rotate List 61. Rotate List Given a list, rotate the list to the right by k places, where k is non-negative. For e ...
分类:其他好文   时间:2017-10-02 23:01:41    阅读次数:144
leetcode: Continuous Subarray Sum
Given a list of non-negative numbers and a target integer k, write a function to check if the array has a continuous subarray of size at least 2 that ...
分类:其他好文   时间:2017-10-02 15:21:59    阅读次数:152
LeetCode Target Sum
原题链接在这里:https://leetcode.com/problems/target-sum/description/ 题目: You are given a list of non-negative integers, a1, a2, ..., an, and a target, S. Now ...
分类:其他好文   时间:2017-09-28 10:01:39    阅读次数:114
258. Add Digits
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: 3... ...
分类:其他好文   时间:2017-09-26 21:23:08    阅读次数:175
258. Add Digits
Given a non-negative integernum, repeatedly add all its digits until the result has only one digit. For example: Givennum = 38, the process is like:3 ...
分类:其他好文   时间:2017-09-26 20:57:35    阅读次数:177
LeetCode Count Numbers with Unique Digits
原题链接在这里:https://leetcode.com/problems/count-numbers-with-unique-digits/description/ 题目: Given a non-negative integer n, count all numbers with unique ...
分类:其他好文   时间:2017-09-26 14:49:16    阅读次数:127
[LintCode] Factorization
A non-negative numbers can be regarded as product of its factors.Write a function that takes an integer n and return all possible combinations of its ...
分类:其他好文   时间:2017-09-26 14:00:51    阅读次数:199
[leetcode] 66. Plus One 解题报告
Given a non-negative integer represented as a non-empty array of digits, plus one to the integer. You may assume the integer do not contain any leadin ...
分类:其他好文   时间:2017-09-26 01:05:35    阅读次数:101
[LeetCode] Maximum Swap 最大置换
Given a non-negative integer, you could swap two digits at most once to get the maximum valued number. Return the maximum valued number you could get. ...
分类:其他好文   时间:2017-09-24 09:49:03    阅读次数:125
2271条   上一页 1 ... 53 54 55 56 57 ... 228 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!