Pregunta de entrevista de OYO

The coding question was based on sorting algo for array