Domanda di colloquio di BlackRock

solve two coding question with a basic editor