Pregunta de entrevista de Virtusa

Sorting program with less time complexity