Synechron interview question

DS and Algorithms, Core java multithreading