Pergunta de entrevista da empresa BNY

Arrays, data structures, Javascript, code in Javascript