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 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
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
原题链接在这里: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
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
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
原题链接在这里: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
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
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
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