Pregunta de entrevista de Nacelle

Write functions to pass the unit tests, following some data structure questions