Pregunta de entrevista de January

Implement a method of a data structure