码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
Leetcode:Rotate List 链表旋转
Rotate ListGiven 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-...
分类:其他好文   时间:2014-06-13 16:39:53    阅读次数:307
[leetcode]Jump Game @ Python
原题地址:https://oj.leetcode.com/problems/jump-game/题意:Given an array of non-negative integers, you are initially positioned at the first index of the arr...
分类:编程语言   时间:2014-06-12 18:04:54    阅读次数:540
[leetcode]Jump Game II @ Python
原题地址:https://oj.leetcode.com/problems/jump-game-ii/题意:Given an array of non-negative integers, you are initially positioned at the first index of the ...
分类:编程语言   时间:2014-06-12 17:38:49    阅读次数:323
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...
分类:其他好文   时间:2014-06-11 00:35:15    阅读次数:243
【leetcode】Gray Code
The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the total number...
分类:其他好文   时间:2014-06-10 19:38:39    阅读次数:199
Largest Rectangle in Histogram
题目 Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histogram. Above is a histogram w...
分类:其他好文   时间:2014-06-10 15:34:02    阅读次数:252
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. 方法 ...
分类:其他好文   时间:2014-06-10 06:12:06    阅读次数:285
Leetcode::JumpGame
Description:Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents...
分类:其他好文   时间:2014-06-09 00:15:33    阅读次数:193
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!