Suma Soft interview question

Multithreading