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
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
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
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
题目: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问题: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
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
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
【题目】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
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