Pregunta de entrevista de Tessian

Programming question: related to data structures.