码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
LeetCode: JumpGame 1 and 2
Title :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...
分类:其他好文   时间:2015-04-26 10:45:35    阅读次数:173
leetcode_64_Minimum Path Sum
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢 64 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....
分类:其他好文   时间:2015-04-26 09:19:46    阅读次数:106
leetcode 5. 两个链表逐个元素相加 Add Two Numbers
问题:Add Two Numbers 难度-MediumYou 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 nu...
分类:其他好文   时间:2015-04-25 18:27:50    阅读次数:130
Gray Code -- leetcode
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 total number of bits in the code, print the sequence of ...
分类:其他好文   时间:2015-04-25 18:26:11    阅读次数:139
Java [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 si...
分类:编程语言   时间:2015-04-25 13:37:32    阅读次数:129
[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...
分类:其他好文   时间:2015-04-25 01:41:00    阅读次数:133
LeetCode 11 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 ...
分类:其他好文   时间:2015-04-25 00:11:21    阅读次数:130
[LeetCode]Multiply Strings
Given two numbers represented as strings, return multiplication of the numbers as a string. Note: The numbers can be arbitrarily large and are non-negative. 给定两个字符串表示的数,要求求这两个数的乘积,乘积用字符串表示。其中,字符串表...
分类:其他好文   时间:2015-04-24 22:47:50    阅读次数:148
Leetcode 解题 Add Two Numbers Python
原题: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 singl...
分类:编程语言   时间:2015-04-24 22:43:07    阅读次数:186
LeetCode (23) 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 you...
分类:其他好文   时间:2015-04-24 21:14:14    阅读次数:171
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!