Merging Two Sorted Lists Under A Custom Comparator

Company: ICICI Bank_2aug

Difficulty: medium