码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
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 digit. Add the two numbers and return i...
分类:其他好文   时间:2014-11-21 12:42:05    阅读次数:241
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 maximu...
分类:其他好文   时间:2014-11-20 23:32:37    阅读次数:254
Rotate List
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.注意:当给...
分类:其他好文   时间:2014-11-20 20:01:05    阅读次数:147
LeetCode——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->3->NULL. 原题链接:https://oj.leetcode.com/proble...
分类:其他好文   时间:2014-11-20 13:46:09    阅读次数:92
[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. Note: You can only move either down or ...
分类:其他好文   时间:2014-11-19 22:23:49    阅读次数:150
【Leetcode】经典的Jump Game in JAVA
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...
分类:编程语言   时间:2014-11-19 18:51:35    阅读次数:226
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...
分类:其他好文   时间:2014-11-19 12:35:24    阅读次数:130
[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. Dete...
分类:其他好文   时间:2014-11-19 11:16:51    阅读次数:145
LeetCode: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 digit is at the head of the list. 思路:先将list...
分类:其他好文   时间:2014-11-19 11:04:49    阅读次数:175
UVA - 12504
Updating a DictionaryIn this problem, a dictionary is collection of key-value pairs, where keys are lower-case letters, and values are non-negative in...
分类:其他好文   时间:2014-11-19 07:04:07    阅读次数:223
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!