DXC Technology Interview Question

design patterns and multithreading