Search a sorted list for the first and last occurrence of a target using binary search.
Constraints
Example
```python >>> search_range([5, 7, 7, 8, 8, 10], 8) [3, 4] >>> search_range([5, 7, 7, 8, 8, 10], 6) [-1, -1] >>> search_range([], 0) [-1, -1] ```
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints