码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
89. 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 num ...
分类:其他好文   时间:2016-10-09 07:18:32    阅读次数:198
leetcode 61 Rotate List ----- java
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
【HDU 3652】 B-number (数位DP)
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
204. Count Primes
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
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 n ...
分类:其他好文   时间:2016-10-08 16:30:15    阅读次数:115
Count Primes
Description: Count the number of prime numbers less than a non-negative number, n. ...
分类:其他好文   时间:2016-10-08 13:51:47    阅读次数:136
[LeetCode] Split Array Largest Sum 分割数组的最大值
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
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 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
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 single ...
分类:其他好文   时间:2016-10-05 13:15:48    阅读次数:171
2271条   上一页 1 ... 80 81 82 83 84 ... 228 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!