PhonePe interview question

Merge 2 sorted lists Merge 2 intervals