Pergunta de entrevista da empresa Coinbase

Two sum leetcode problem, then a behavior question about team building