Pregunta de entrevista de Seven Bridges

Some questions were about data structures