码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
Gray Code LeetCode 89
题目:The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integer n representing the total n...
分类:其他好文   时间:2015-09-08 21:54:06    阅读次数:164
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 + ...
分类:其他好文   时间:2015-09-08 06:58:45    阅读次数:172
(算法)格雷码
题目:The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the total num...
分类:编程语言   时间:2015-09-07 21:16:44    阅读次数:281
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 ...
分类:其他好文   时间:2015-09-07 21:14:43    阅读次数:226
[LeetCode#45]Jump Game II
Problem:Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents you...
分类:其他好文   时间:2015-09-07 07:02:11    阅读次数:265
LeetCode:Count Primes - 统计质数数量
1、题目名称 Count Primes(统计质数数量) 2、题目地址 https://leetcode.com/problems/count-primes/ 3、题目内容 英文:Count the number of prime numbers less than a non-negative number, n. 中文:统计正...
分类:其他好文   时间:2015-09-07 00:43:16    阅读次数:202
Jump Game II
Description:Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents...
分类:其他好文   时间:2015-09-06 09:50:18    阅读次数:194
[leetcode] Gray Code
描述: The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total...
分类:其他好文   时间:2015-09-05 22:18:19    阅读次数:194
LeetCode(2): Add Two Numbers
【题目】LeetCode(2): Add Two NumbersURL: https://leetcode.com/problems/add-two-numbers/【描述】You are given two linked lists representing two non-negative nu...
分类:其他好文   时间:2015-09-05 11:01:17    阅读次数:240
[LeetCode][JavaScript]H-Index
H-IndexGiven an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher's h-index.Acc...
分类:编程语言   时间:2015-09-05 06:33:28    阅读次数:180
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!