Intervals - Merge Intervals
The following code attempts to merge intervals in-place after sorting. Identify the line that contains a subtle bug causing incorrect results on some inputs.
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions