Pregunta de entrevista de Coinbase

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