Capgemini interview question

Producer Consumer Solution using threads