HP Inc. Interview Question

Producer/Consumer problem; queue implementation