Question d’entretien chez Cyberhaven

Small code optimization challenge on Engineering screening.