Chapter 5: Conclusion Final Exam: Question 10

The New York City Bodega Association is looking to create an app that will help them keep track of their unique, versatile inventory and help customers look up whether items are in stock before visiting the bodega.

The last part of the question, there is a mention for checking whether the item(s) is/are in stock. Does this not inform us that there is chance of using computed pattern along with polymorphic patter?

Thanks for your help.

I agree with Mahesh,
Polymorphic pattern is good to store various items on same collection,
but the request is to check in-stock status for item,
Computed or Extended Reference patterns may help better on this case.

Or maybe the question should be something like:
The New York City Bodega Association is looking to create an app that will help them keep track of their unique, versatile inventory on same collection.

Thanks