码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
No.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 sin ...
分类:其他好文   时间:2016-09-22 21:26:16    阅读次数:170
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-09-22 06:30:33    阅读次数:111
LeetCode66 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 ...
分类:其他好文   时间:2016-09-22 00:57:54    阅读次数:173
LeetCode64 Minimum Path Sum
题目: Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its pa ...
分类:其他好文   时间:2016-09-20 22:38:01    阅读次数:173
Count Primes
Description: Count the number of prime numbers less than a non-negative number, n. Analyse: start from 2, label 2 * 2, 2 * 3... as false; then move to ...
分类:其他好文   时间:2016-09-20 06:50:36    阅读次数:215
LeetCode61 Rotate List
题目: Given a list, rotate the list to the right by k places, where k is non-negative. (Medium) For example:Given 1->2->3->4->5->NULL and k = 2,return 4 ...
分类:其他好文   时间:2016-09-20 00:06:10    阅读次数:231
[LeetCode] Remove K Digits 去掉K位数字
Given a non-negative integer num represented as a string, remove k digits from the number so that the new number is the smallest possible. Note: The l ...
分类:其他好文   时间:2016-09-19 06:44:24    阅读次数:133
Jump Game
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 maxim ...
分类:其他好文   时间:2016-09-19 06:37:40    阅读次数:113
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-09-17 07:10:28    阅读次数:123
LeetCode 66. 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 a ...
分类:其他好文   时间:2016-09-17 00:15:54    阅读次数:145
2271条   上一页 1 ... 82 83 84 85 86 ... 228 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!