名称 | 力扣地址 | 难度 | 标签 |
---|---|---|---|
35. 搜索插入位置(简单)(LCR 068) | https://leetcode.cn/problems/search-insert-position/ | ☆☆ | 二分查找 |
540. 有序数组中的单一元素(LCR 070) | https://leetcode.cn/problems/single-element-in-a-sorted-array/ | ☆☆☆ | 二分查找 |
69. x 的平方根(简单)(LCR 072) | https://leetcode.cn/problems/sqrtx/ | ☆☆ | 二分查找 |
875. 爱吃香蕉的珂珂(中等)(LCR 073) | https://leetcode.cn/problems/koko-eating-bananas/ | ☆☆☆ | 二分查找 |
704. 二分查找(简单) | https://leetcode.cn/problems/binary-search/ | ☆ | 二分查找 |
34. 在排序数组中查找元素的第一个和最后一个位置(中等)(LCR 172) | https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array/ | ☆☆ | 二分查找 |
367. 有效的完全平方数(简单) | https://leetcode.cn/problems/valid-perfect-square/ | ☆☆ | 二分查找 |
74. 搜索二维矩阵(中等) | https://leetcode.cn/problems/search-a-2d-matrix/ | ☆☆☆ | 二分查找 |
240. 搜索二维矩阵 II(中等) | https://leetcode.cn/problems/search-a-2d-matrix-ii/ | ☆☆☆ | 二分查找 |
658. 找到 K 个最接近的元素(中等) | https://leetcode.cn/problems/find-k-closest-elements/ | ☆ | 二分查找 |
1011. 在 D 天内送达包裹的能力(中等) | https://leetcode.cn/problems/capacity-to-ship-packages-within-d-days/ | ☆☆☆ | 二分查找 |
852. 山脉数组的峰顶索引(中等)(LCR 069) | https://leetcode.cn/problems/peak-index-in-a-mountain-array/ | ☆☆☆ | 二分查找 |
162. 寻找峰值(中等) | https://leetcode.cn/problems/find-peak-element/ | ☆☆☆ | 二分查找 |
153. 寻找旋转排序数组中的最小值(中等) | https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array/ | ☆☆☆ | 二分查找 |
33. 搜索旋转排序数组(中等) | https://leetcode.cn/problems/search-in-rotated-sorted-array/ | ☆☆☆ | 二分查找 |
278. 第一个错误的版本(简单) | https://leetcode.cn/problems/first-bad-version/ | ☆ | 二分查找 |
410. 分割数组的最大值(困难) | https://leetcode.cn/problems/split-array-largest-sum/ | ☆☆☆☆ | 二分查找+贪心 |
二分查找刷题目录
于 2023-11-19 09:06:14 首次发布