Domanda di colloquio di NVIDIA

it was a leetcode easy