Pregunta de entrevista de Tessell

A question based on Trees and String