Pergunta de entrevista da empresa QuantumBlack

Coding: algorithm question, data munging question, 2 sql questions