RBC Interview Question

Multithreading with an example