Description: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...
分类:
其他好文 时间:
2015-06-17 00:26:35
阅读次数:
166
Description:Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along its ...
分类:
其他好文 时间:
2015-06-17 00:25:03
阅读次数:
185
Problem:Description:Count the number of prime numbers less than a non-negative number, n.Credits:Special thanks to @mithmatt for adding this problem a...
分类:
其他好文 时间:
2015-06-16 22:53:33
阅读次数:
137
题目: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 sing...
分类:
其他好文 时间:
2015-06-16 16:27:28
阅读次数:
89
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-06-16 09:23:26
阅读次数:
138
Problem Description
You are not given n non-negative integers X0, X1, ..., Xn-1 less than 220 , but they do exist, and their values never change.
I'll gradually provide you some facts about them...
分类:
其他好文 时间:
2015-06-15 23:55:55
阅读次数:
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 ...
分类:
其他好文 时间:
2015-06-15 10:54:28
阅读次数:
77
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). Find two ...
分类:
其他好文 时间:
2015-06-15 09:36:47
阅读次数:
78
原题
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-06-14 18:36:43
阅读次数:
102
【题目】
Implement a basic calculator to evaluate a simple expression string.
The expression string may contain open ( and closing parentheses ),
the plus + or minus sign -, non-negative integer...
分类:
其他好文 时间:
2015-06-14 12:31:38
阅读次数:
122