Walmart interview question

Question : Producer and Consumer using with custom bounded queue