Cleartrip interview question

write a code for inventory management system