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 num ...
分类:
其他好文 时间:
2016-10-09 07:18:32
阅读次数:
198
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- ...
分类:
编程语言 时间:
2016-10-09 00:12:25
阅读次数:
209
B-number Problem Description A wqb-number, or B-number for short, is a non-negative integer whose decimal form contains the sub- string "13" and can b ...
分类:
其他好文 时间:
2016-10-08 23:58:23
阅读次数:
865
Description: Count the number of prime numbers less than a non-negative number, n. 刷了一周的python, 希望明天把blackjack和最后的游戏做出来。 思路: 比较巧妙,用inner loop从头开始mark不 ...
分类:
其他好文 时间:
2016-10-08 19:23:23
阅读次数:
149
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 n ...
分类:
其他好文 时间:
2016-10-08 16:30:15
阅读次数:
115
Description: Count the number of prime numbers less than a non-negative number, n. ...
分类:
其他好文 时间:
2016-10-08 13:51:47
阅读次数:
136
Given an array which consists of non-negative integers and an integer m, you can split the array into m non-empty continuous subarrays. Write an algor ...
分类:
编程语言 时间:
2016-10-06 15:06:06
阅读次数:
363
问题描述: 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 s ...
分类:
其他好文 时间:
2016-10-05 15:32:44
阅读次数:
139
1 题目 You are giventwo linked lists representing two non-negative numbers. The digits are storedin reverse order and each of their nodes contain a sing ...
分类:
其他好文 时间:
2016-10-05 15:23:25
阅读次数:
155
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 ...
分类:
其他好文 时间:
2016-10-05 13:15:48
阅读次数:
171