Pergunta de entrevista da empresa Cyberhaven

Small code optimization challenge on Engineering screening.