Pergunta de entrevista da empresa Virtusa

Sorting program with less time complexity