Applied Materials interview question

Implement BlockingQueue for enqueue and dequeue functionality.