Pregunta de entrevista de Thoughtworks

Algorithm implementation for sort logic