May 23
•
Articles
• 1 min read
Recently while practicing interval problems, I noticed something interesting:
A lot of interview questions are actually small twists of the same underlying pattern.
Take the classic Merge Intervals problem:
intervals = 1,3, 2,5, 6,8, 7,9
The fir...