码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
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,...
分类:移动开发   时间:2014-06-27 23:20:39    阅读次数:349
[leetcode] Minimum Path Sum
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
分类:其他好文   时间:2014-06-27 23:02:33    阅读次数:258
[leetcode] 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.
分类:移动开发   时间:2014-06-27 12:51:24    阅读次数:258
[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 ...
分类:其他好文   时间:2014-06-27 12:21:24    阅读次数:215
[leetcode] 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 endpo...
分类:其他好文   时间:2014-06-27 12:20:47    阅读次数:245
[leetcode] Jump Game II
Given an array of non-negative integers, you are initially positioned at the first index of the array.
分类:其他好文   时间:2014-06-27 11:51:49    阅读次数:213
[leetcode] Jump Game
Given an array of non-negative integers, you are initially positioned at the first index of the array.
分类:其他好文   时间:2014-06-27 11:42:04    阅读次数:146
[leetcode] Rotate List
Given a list, rotate the list to the right by k places, where k is non-negative.
分类:其他好文   时间:2014-06-27 11:39:33    阅读次数:289
LeetCode OJ - 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 sing...
分类:其他好文   时间:2014-06-27 11:38:12    阅读次数:207
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 at (i, ai) and (...
分类:其他好文   时间:2014-06-24 16:00:49    阅读次数:220
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!