Pregunta de entrevista de Cloudera

Standard data structure/algorithm. Can't reveal much more