找到有序数组 [1, 2, 3, 4, 7, 7, 7, 9, 12, 23, 34, 45, 55, 67]中第一次出现的位置,比如7第一次出现的位置是4
Activity
linlinyang commentedon Dec 10, 2020
二分查找
sisterAn commentedon Dec 10, 2020
腾讯&字节&leetcode34:在排序数组中查找元素的第一个和最后一个位置
jdkwky commentedon Jan 7, 2021
z253573760 commentedon Feb 2, 2021
dlrandy commentedon Jun 8, 2021
xllpiupiu commentedon Oct 1, 2021
ZhaoWeiming9317 commentedon Jul 19, 2022
可以仿照python的bisect-left的源码来写呀