Schneider Electric interview question

Merge sort algorithm to be written