NVIDIA Interview Question

Coding round to synchronize actions to FIFO queue