码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
LeetCode --- 11. Container With Most Water
题目链接:Container With Most Water Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is ...
分类:其他好文   时间:2015-01-29 12:48:22    阅读次数:226
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 nu...
分类:其他好文   时间:2015-01-29 08:11:36    阅读次数:154
[C++]LeetCode: 128 Largest Number (自定义比较函数排序)
题目: 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...
分类:编程语言   时间:2015-01-28 13:08:57    阅读次数:245
[LeetCode]43.Multiply Strings
【题目】 Given two numbers represented as strings, return multiplication of the numbers as a string. Note: The numbers can be arbitrarily large and are non-negative. 【分析】 高精度乘法(大数乘法) 【代码】 /***...
分类:其他好文   时间:2015-01-28 13:02:52    阅读次数:165
[leetcode] Jump Game II
Jump Game IIGiven an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents...
分类:其他好文   时间:2015-01-28 12:42:09    阅读次数:168
LeetCode—Largest Number
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-01-28 11:10:29    阅读次数:148
PAT Advanced 1005
题目如下: 1005. Spell It Right (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given a non-negative integer N, ...
分类:其他好文   时间:2015-01-28 09:51:42    阅读次数:170
LeetCode --- 2. Add Two Numbers
题目链接: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. Add the two numbers a...
分类:其他好文   时间:2015-01-27 23:36:05    阅读次数:373
LeetCode Largest Number
Problem: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 fo...
分类:其他好文   时间:2015-01-27 21:51:15    阅读次数:147
leetcode_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 digit. Add the two numbers and return it ...
分类:其他好文   时间:2015-01-27 20:23:35    阅读次数:154
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!