Pergunta de entrevista da empresa Meta

Hashing question, trees, permutation question