NVIDIA interview question

problems regarding multithreading