HCLTech interview question

Synchronization program. Program on thread. Producer consumer problem program. Remove duplicates in array.