Pregunta de entrevista de Improbable

pretty standard algorithm and data structures questions