← 返回刷题记录

34 · 在排序数组中查找元素的第一个和最后一个位置

Find First and Last Position of Element in Sorted Array · 二分

题目

伪代码

Python 代码