Backend Engineer
Two customers. One item left.
- 1Your approach
- 2The follow-up
- 3Reflect & learn
THE INTERVIEWER ASKS
The scenario
Before creating an order, your API checks that a product is in stock. How would you implement the reservation?
How would you approach it?
Explain your assumptions, your approach, and why you chose it.