摘要:
16. 3Sum Closest 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 th 阅读全文
posted @ 2017-10-11 23:18
hdu胡恩超
阅读(124)
评论(0)
推荐(0)
摘要:
15. 3Sum Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives th 阅读全文
posted @ 2017-10-11 22:47
hdu胡恩超
阅读(164)
评论(0)
推荐(0)
摘要:
11. 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 阅读全文
posted @ 2017-10-11 16:28
hdu胡恩超
阅读(143)
评论(0)
推荐(0)
摘要:
14. Longest Common Prefix Write a function to find the longest common prefix string amongst an array of strings. 阅读全文
posted @ 2017-10-11 15:30
hdu胡恩超
阅读(148)
评论(0)
推荐(0)

浙公网安备 33010602011771号