码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
【Minimum Path Sum】cpp
题目: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...
分类:其他好文   时间:2015-06-03 21:23:50    阅读次数:102
Jump Game I , II
https://leetcode.com/problems/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 maxi...
分类:其他好文   时间:2015-06-03 11:53:41    阅读次数:94
No.2 Add Two Numbers
No.2 Add Two NumbersYou are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nod...
分类:其他好文   时间:2015-06-01 18:14:15    阅读次数:111
leetcode | Rotate List
Rotate List :https://leetcode.com/problems/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->...
分类:其他好文   时间:2015-06-01 11:34:49    阅读次数:88
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-05-30 09:28:02    阅读次数:137
LeetCode 64 Minimum Path Sum
Minimum Path SumGiven amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along ...
分类:其他好文   时间:2015-05-30 01:47:19    阅读次数:138
【Jump Game II 】cpp
题目: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 max...
分类:其他好文   时间:2015-05-29 23:04:22    阅读次数:183
【Jump Game】cpp
题目: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 max...
分类:其他好文   时间:2015-05-29 21:31:57    阅读次数:126
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 as a link...
分类:其他好文   时间:2015-05-27 21:10:51    阅读次数:137
[LeetCode] 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 positi...
分类:其他好文   时间:2015-05-27 15:47:44    阅读次数:139
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!