码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
【Leetcode】Minimum Path Sum
题目链接:https://leetcode.com/problems/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 alo...
分类:其他好文   时间:2016-05-27 11:24:34    阅读次数:132
LeetCode OJ 55. 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 maxim ...
分类:其他好文   时间:2016-05-26 20:26:46    阅读次数:123
Non-negative Partial Sums(单调队列)
Non-negative Partial Sums Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2622 Accepted Submissio ...
分类:其他好文   时间:2016-05-26 20:25:28    阅读次数:259
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 ...
分类:其他好文   时间:2016-05-24 22:43:30    阅读次数:158
204. Count Primes
Description: Count the number of prime numbers less than a non-negative number, n. ...
分类:其他好文   时间:2016-05-23 22:30:46    阅读次数:181
258. Add Digits
Problem: Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process ...
分类:其他好文   时间:2016-05-22 21:27:42    阅读次数:120
【LeetCode】89.Gary Code
Problem: The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the ...
分类:其他好文   时间:2016-05-22 06:07:32    阅读次数:132
LintCode : Jump Game II
Problem Description: Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array ...
分类:其他好文   时间:2016-05-21 17:16:54    阅读次数:146
LeetCode 55
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 ...
分类:其他好文   时间:2016-05-20 22:28:14    阅读次数:231
LeetCode 274
H-Index Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher's h-index. A ...
分类:其他好文   时间:2016-05-20 13:22:48    阅读次数:123
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!