Find First and Last Position
mediumGiven a sorted array, find the starting and ending position of a target value. Return [-1, -1] if not found
Find First and Last Position
Run binary search twice: left-biased keeps searching left after finding target, right-biased keeps searching right.
Find first and last occurrence of 8 in sorted array.