Deloitte interview question

Python multithreading and multiprocessing with code