NVIDIA Interview Question

find error in a piece of code