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 ...
分类:
编程语言 时间:
2015-04-23 22:54:56
阅读次数:
140
题目:
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 ...
分类:
其他好文 时间:
2015-04-23 21:50:12
阅读次数:
155
目录目录
题目
思路一
思路二题目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 histogram.
Above is a histogram where...
分类:
其他好文 时间:
2015-04-23 13:33:11
阅读次数:
158
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 at...
分类:
其他好文 时间:
2015-04-22 20:32:54
阅读次数:
145
题目描述Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and are non-negative.对两组非负数字进行相乘,使用数组表示数字,且题目中说明数组很大,因此,因此不能直接将...
分类:
其他好文 时间:
2015-04-22 18:29:04
阅读次数:
103
题目来自于:LeetCode
https://leetcode.com/problems/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...
分类:
其他好文 时间:
2015-04-22 18:20:03
阅读次数:
115
题目:
Given n non-negative integers a1, a2,
..., an, where each represents a point at coordinate (i, ai). n vertical
lines are drawn such that the two endpoints of line i is at (i, ai) and (i,
...
分类:
其他好文 时间:
2015-04-22 11:36:08
阅读次数:
165
Given n non-negative integers a1, a2,
..., an, where each represents a point at coordinate (i, ai). n vertical
lines are drawn such that the two endpoints of line i is at (i, ai) and (i,
0). Fin...
分类:
其他好文 时间:
2015-04-21 22:41:35
阅读次数:
156
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 ...
分类:
其他好文 时间:
2015-04-21 22:22:16
阅读次数:
128
【题目】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 ma...
分类:
其他好文 时间:
2015-04-21 20:35:09
阅读次数:
108