Visa Inc. interview question

Write the algorithm for merge sort