Round 1 : OOPS Coding Round.
Question :
Problem Statement
You are a budding entrepreneur who devised an idea to build an e-commerce giant like Amazon, Flipkart, Walmart, etc. As part of this ambition, you want to build a platform to duplicate the concept of Limited Time Deals.
Limited Time Deals
A limited-time deal implies that a seller will put up an item on sale for a limited period, say, 2 hours, and will keep a maximum limit on the number of items that would be sold as part of that deal.
Users cannot buy the deal if the deal time is over.
Users cannot buy if other users have already bought the maximum allowed deal.
Users can buy up to one item as part of the deal.
-> The task is to create APIs to enable the following operations
-> Create a deal with the price and number of items to be sold as part of the deal
->End a deal
-> Update a deal to increase the number of items or end-time
-> Claim a deal
Guidelines
What are we looking for?
Round 2 : Design Round
Book My Show HLD&LLD and how to handle concureny, define all entities and relationships among them.
Verdict : Rejected.