Pergunta de entrevista da empresa Quicko

A DSA Question of HARD difficulty involving merge sort