摘要:
题目: Given an unsorted integer array, find the first missing positive integer. For example, Given [1,2,0] return 3, and [3,4, 1,1] return 2. Your algor 阅读全文
摘要:
3Sum: 题目: Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three 阅读全文
摘要:
题目: 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 e 阅读全文