Maximum Sum
Time Limit:500MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u
Submit Status
Description
Given a 2-dimensional array of positive and negative integers, find the sub-rect...
分类:
其他好文 时间:
2014-11-10 10:04:21
阅读次数:
119
Determine whether an integer is a palindrome. Do this without extra space.Notes:1) Negative number is notpalindrome.2) Compare from head to tail, cons...
分类:
其他好文 时间:
2014-11-08 16:43:57
阅读次数:
124
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 ...
分类:
其他好文 时间:
2014-11-07 23:12:58
阅读次数:
238
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...
分类:
其他好文 时间:
2014-11-06 19:16:22
阅读次数:
175
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...
分类:
其他好文 时间:
2014-11-06 19:12:07
阅读次数:
204
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...
分类:
其他好文 时间:
2014-11-06 16:58:34
阅读次数:
138
BitsLet's denote as the number of bits set ('1' bits) in the binary representation of the non-negative integer x.You are given multiple queries consis...
分类:
编程语言 时间:
2014-11-06 14:23:23
阅读次数:
192
题目描述:
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.
For example,
Given [0,1,0,2,1,0,1...
分类:
移动开发 时间:
2014-11-06 13:06:41
阅读次数:
239
As more and more sites evolve into “Web 2.0″ apps, the amount of JavaScript increases. This is a performance concern because scripts have a negative i...
分类:
编程语言 时间:
2014-11-06 09:14:47
阅读次数:
401
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 numb...
分类:
其他好文 时间:
2014-11-04 18:48:23
阅读次数:
187