HCL interview question

dsa, solid principles, Algorithms, Producer consumer problem