Pregunta de entrevista de Accenture

Sorting using various methods