码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
55. Jump Game
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxim ...
分类:其他好文   时间:2016-06-23 20:38:25    阅读次数:148
227. Basic Calculator II
Implement a basic calculator to evaluate a simple expression string. The expression string contains only non-negative integers, +, -, *, / operators a ...
分类:其他好文   时间:2016-06-22 19:00:13    阅读次数:137
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-06-22 15:26:36    阅读次数:105
leetcode 之 Minimum Path Sum
题目描述: Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its ...
分类:其他好文   时间:2016-06-21 19:09:04    阅读次数:193
[LeetCode] Count Numbers with Unique Digits
Given a non-negative integer n, count all numbers with unique digits, x, where 0 ≤ x < 10n.Example: Given n = 2, return 91. (The answer should be the total numbers in the range of 0 ≤ x < 100, excludi...
分类:其他好文   时间:2016-06-21 07:12:43    阅读次数:111
[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-06-20 22:10:52    阅读次数:205
LeetCode|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-06-20 15:31:56    阅读次数:119
357. Count Numbers with Unique Digits
Given a non-negative integer n, count all numbers with unique digits, x, where 0 ≤ x < 10n. Given a non-negative integer n, count all numbers with uni ...
分类:其他好文   时间:2016-06-20 12:49:05    阅读次数:115
Leetcode 204. Count Primes
题目概述: Description: Count the number of prime numbers less than a non-negative number, n. Credits:Special thanks to @mithmatt for adding this problem a ...
分类:其他好文   时间:2016-06-19 06:46:44    阅读次数:195
258. Add Digits
1. 问题描述 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 i ...
分类:其他好文   时间:2016-06-18 19:50:27    阅读次数:133
2271条   上一页 1 ... 94 95 96 97 98 ... 228 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!