Pregunta de entrevista de GenITeam

Nothing unexpected, all about algorithms and data structure.