Publicis Sapient Interview Question

BlockingQueue based producer consumer problem.