NVIDIA interview question

Multithreading questions were tough.