Pergunta de entrevista da empresa Cloudera

Coding exercises. Nothing too difficult.