摘要:
14. First Position of TargetDescriptionFor a given sorted array (ascending order) and a target number, find the first index of th... 阅读全文
posted @ 2019-02-04 17:51
siriusli
阅读(118)
评论(0)
推荐(0)
摘要:
141. Sqrt(x)DescriptionSqrt(x)Implement int sqrt(int x).Compute and return the square root of x.ExampleExample 1:Input: 0Output:... 阅读全文
posted @ 2019-02-04 02:22
siriusli
阅读(153)
评论(0)
推荐(0)
摘要:
60. Search Insert PositionDescriptionGiven a sorted array and a target value, return the index if the target is found. If not, re... 阅读全文
posted @ 2019-02-04 02:02
siriusli
阅读(129)
评论(0)
推荐(0)
摘要:
28.Search a 2D MatrixDescriptionDescriptionWrite an efficient algorithm that searches for a value in an m x n matrix.This matrix ... 阅读全文
posted @ 2019-02-04 01:51
siriusli
阅读(137)
评论(0)
推荐(0)
摘要:
31. Partition ArrayDescriptionGiven an array nums of integers and an int k, partition the array (i.e move the elements in “nums”)... 阅读全文
posted @ 2019-02-04 01:10
siriusli
阅读(235)
评论(0)
推荐(0)
摘要:
15. 3SumDescriptionGiven an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique... 阅读全文
posted @ 2019-02-04 00:39
siriusli
阅读(107)
评论(0)
推荐(0)
摘要:
59. 3Sum ClosestDescriptionGiven an array S of n integers, find three integers in S such that the sum is closest to a given numbe... 阅读全文
posted @ 2019-02-04 00:32
siriusli
阅读(104)
评论(0)
推荐(0)
浙公网安备 33010602011771号