Infosys interview question

Merge sort algorithm