Pregunta de entrevista de Arcadia.io

A very basic data structure whiteboard coding problem