码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
Rotate List —— LeetCode
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.题目大意:...
分类:其他好文   时间:2015-05-20 14:39:18    阅读次数:106
Java for LeetCode 089 Gray Code
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 numb...
分类:编程语言   时间:2015-05-20 01:56:53    阅读次数:188
【leetcode】Jump Game I & II
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...
分类:其他好文   时间:2015-05-19 18:55:15    阅读次数:125
Jump Game —— LeetCode
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...
分类:其他好文   时间:2015-05-19 12:37:23    阅读次数:106
[LeetCode-JAVA] 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 num...
分类:编程语言   时间:2015-05-19 12:08:38    阅读次数:230
Jump Game II
Jump Game II问题:Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represe...
分类:其他好文   时间:2015-05-19 10:27:39    阅读次数:87
【Leetcode】【Medium】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.解题思路:...
分类:其他好文   时间:2015-05-19 07:12:50    阅读次数:116
LeetCode 002. 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 it as a l...
分类:其他好文   时间:2015-05-18 21:18:42    阅读次数:106
179-Largest Number
【题目】Given a list of non negative integers, arrange them such that they form the largest number.For example, given[3, 30, 34, 5, 9], the largest formed...
分类:其他好文   时间:2015-05-18 20:38:52    阅读次数:105
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.分析:首先...
分类:其他好文   时间:2015-05-18 20:22:28    阅读次数:140
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!