Walmart interview question

very core questions regarding threads and threadpool