码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
[LeetCode] Add Two Numbers
https://leetcode.com/problems/add-two-numbers/You are given two linked lists representing two non-negative numbers. The digits are stored in reverse o...
分类:其他好文   时间:2015-06-29 23:36:10    阅读次数:181
leetcode - Jump Game II
题目: Jump Game II   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 maximum jump length ...
分类:其他好文   时间:2015-06-29 10:06:13    阅读次数:103
Add Two Number
题目: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 sing...
分类:其他好文   时间:2015-06-28 14:06:03    阅读次数:115
Largest Number -- leetcode
Given a list of non negative integers, arrange them such that they form the largest number. For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330. Note: The result may be ve...
分类:其他好文   时间:2015-06-28 12:48:49    阅读次数:112
(LeetCode 64)Minimum Path Sum
Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along its path.Note:Yo...
分类:其他好文   时间:2015-06-26 10:36:25    阅读次数:119
【LeetCode】Add Two Numbers
【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 digit....
分类:其他好文   时间:2015-06-26 09:26:14    阅读次数:128
LeetCode——Largest Number
Description:Given a list of non negative integers, arrange them such that they form the largest number.For example, given [3, 30, 34, 5, 9], the large...
分类:其他好文   时间:2015-06-26 06:50:25    阅读次数:104
[LeetCode] Basic Calculator II 基本计算器之二
Implement a basic calculator to evaluate a simple expression string.The expression string contains only non-negative integers, +, -, *, / operators an...
分类:其他好文   时间:2015-06-26 00:23:20    阅读次数:135
[LeetCode] Jump Game II
Jump Game II 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 maximum jump length at that posi...
分类:其他好文   时间:2015-06-25 21:15:22    阅读次数:137
LeetCode204:Count Primes
Description:Count the number of prime numbers less than a non-negative number, n.计算小于n的非负整数中素数的个数。 素数又称质数,是指只能被1和它自身相除的自然数。需要注意的是1既不是素数也不是合数。2是最小的素数。使用判断一个数是否是素数的函数,那么这个函数需要进行一轮循环,在给定的小于n中又要进行一轮循环。所以时...
分类:其他好文   时间:2015-06-25 17:24:31    阅读次数:77
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!