Pergunta de entrevista da empresa Cloudera

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