NVIDIA interview question

Single coding task, my interests