码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
LeetCode 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 maximum jump length at that position. Determine i...
分类:其他好文   时间:2015-03-13 20:48:48    阅读次数:118
[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 num...
分类:编程语言   时间:2015-03-13 20:39:38    阅读次数:163
LeetCode --- 55. Jump Game
题目链接: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 maximum jump length at that position. ...
分类:其他好文   时间:2015-03-12 11:38:00    阅读次数:123
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 maximum jump length at that position. Determine if yo...
分类:其他好文   时间:2015-03-11 21:40:22    阅读次数:126
【leetcode】Rotate List(middle)
Given a list, rotate the list to the right bykplaces, wherekis non-negative.For example:Given1->2->3->4->5->NULLandk=2,return4->5->1->2->3->NULL.题目关键点...
分类:其他好文   时间:2015-03-11 21:24:58    阅读次数:114
[LeetCode] 61 Rotate List
Given a list, rotate the list to the right by k places, where k is non-negative. For example: Given 1->2->3->4->5->NULL and k = 2, return 4->5->1->2->...
分类:其他好文   时间:2015-03-11 21:15:13    阅读次数:124
java-Trapping Rain Water
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 raining. For example,  Given [0,1,0,2,1,0,1,3,2,1,2,1]...
分类:移动开发   时间:2015-03-11 17:22:23    阅读次数:160
Plus One
https://leetcode.com/problems/plus-one/Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored suc...
分类:其他好文   时间:2015-03-10 21:17:35    阅读次数:142
Plus One
Plus One问题:Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant ...
分类:其他好文   时间:2015-03-08 21:22:25    阅读次数:123
leetcode------Add Two Numbers
标题:Add Two Numbers通过率:22.6%难度:中等You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each ...
分类:其他好文   时间:2015-03-08 21:19:22    阅读次数:123
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!