Pregunta de entrevista de PTC

Data structures and algorithms and puzzles