码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
【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 sin ...
分类:其他好文   时间:2016-10-20 12:02:28    阅读次数:160
leetcode 89 Gray Code ----- java
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-20 00:14:38    阅读次数:133
leetcode 84 Largest Rectangle in Histogram ----- java
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist ...
分类:编程语言   时间:2016-10-19 02:33:38    阅读次数:157
[LeetCode] Pacific Atlantic Water Flow 太平洋大西洋水流
Given an m x n matrix of non-negative integers representing the height of each unit cell in a continent, the "Pacific ocean" touches the left and top ...
分类:其他好文   时间:2016-10-15 02:36:02    阅读次数:109
55. 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 maxim ...
分类:其他好文   时间:2016-10-14 07:23:26    阅读次数:101
leetcode 64 Minimum Path Sum ----- java
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 path. ...
分类:编程语言   时间:2016-10-11 13:49:23    阅读次数:149
[leetcode]84.Largest Rectangle in Histogram ,O(n)解法剖析
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist ...
分类:其他好文   时间:2016-10-10 19:10:30    阅读次数:137
[LeetCode] Add Strings 字符串相加
Given two non-negative numbers num1 and num2 represented as string, return the sum of num1 and num2. Note: 这道题让我们求两个字符串的相加,之前LeetCode出过几道类似的题目,比如二进制数相 ...
分类:其他好文   时间:2016-10-10 01:12:31    阅读次数:204
水题:HDU 5112 A Curious Matt
Description There is a curious man called Matt. One day, Matt's best friend Ted is wandering on the non-negative half of the number line. Matt finds i ...
分类:其他好文   时间:2016-10-09 19:56:07    阅读次数:143
61. Rotate List
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 07:23:11    阅读次数:202
2271条   上一页 1 ... 79 80 81 82 83 ... 228 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!