EY interview question

Write about merge sort and code