ByteDance Interview Question

3Sum, Search in a Rotated Sorted Array, Change Light Bulbs