Nylas Interview Question

Merge Sort, heap, coding round