- 博客(4)
- 收藏
- 关注
原创 LeetCode题解(Week2):179. Largest Number
原题目Given a list of non negative integers, arrange them such that they form the largest number.For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330.Note: The result may be v
2017-02-28 23:32:03 390
原创 LeetCode题解(Week 1):Container With Most Water
原题目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
2017-02-26 10:22:36 267
原创 LeetCode题解(Week 1):287. Find the Duplicate Number
题目:Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), prove that at least one duplicate number must exist. Assume that there is only one duplicate number,
2017-02-25 00:41:24 292
原创 LeetCode题解(Week 1):414. Third Maximum Number
LeetCode题解(Week 1):414. Third Maximum Number原题目:Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the maximum number. The time complexity
2017-02-22 19:15:55 491
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人