Simplify360 interview question

multi threading