Binary Search
Completed:
https://leetcode.com/problems/search-insert-position/description/https://leetcode.com/problems/search-for-a-range/description/https://leetcode.com/problems/search-a-2d-matrix/description/https://leetcode.com/problems/search-a-2d-matrix-ii/description/
已做过,尚未整理:
- https://leetcode.com/problems/first-bad-version/description/
- https://leetcode.com/problems/find-peak-element/description/
03/17/2018
- https://leetcode.com/problems/search-in-rotated-sorted-array/description/
- https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii/description/
- https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/description/
- https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii/description/
Array
03/17
- https://leetcode.com/problems/merge-sorted-array/description/
- list problem, similar problem as above one: https://leetcode.com/problems/merge-two-sorted-lists/description/
- https://leetcode.com/problems/median-of-two-sorted-arrays/description/ // need to debug and make code more concise. It is close.
网友评论