NVIDIA Interview Question

Related to multithreading - Printing numbers by multiple threads. Related to wait and notify