Question 1 of 6
For values = [10, 20, 20, 40], what do bisect_left(values, 20) and bisect_right(values, 20) return?
Left points before equal items; right points after them.
The duplicate values occupy indexes 1 and 2, so the left boundary is 1 and the right boundary is 3.
Review this lesson