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-16 23:33:54
阅读次数:
119
Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ...
分类:
其他好文 时间:
2015-04-16 23:23:23
阅读次数:
127
题目:
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 tw...
分类:
其他好文 时间:
2015-04-16 21:59:36
阅读次数:
114
http://acm.hdu.edu.cn/showproblem.php?pid=4747
Problem Description
Mex is a function on a set of integers, which is universally used for impartial game theorem. For a non-negative integer set ...
分类:
其他好文 时间:
2015-04-16 21:52:59
阅读次数:
130
Add Two NumbersYou are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes co...
分类:
其他好文 时间:
2015-04-16 19:34:28
阅读次数:
170
题目:Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints ...
分类:
其他好文 时间:
2015-04-16 01:17:43
阅读次数:
127
题目:Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes?...
分类:
其他好文 时间:
2015-04-15 23:20:59
阅读次数:
159
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (i...
分类:
其他好文 时间:
2015-04-15 21:25:08
阅读次数:
112
Givennnon-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.Fo...
分类:
移动开发 时间:
2015-04-15 16:50:03
阅读次数:
117
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 digit. Add the two numbers ...
分类:
其他好文 时间:
2015-04-15 13:39:11
阅读次数:
164