Repository interviews
Give candidates a change in a repository you’ve prepared. Watch them explore the code, trace its behavior, and make a fix they can explain and test.
Repository
checkout.ts
stock.ts
tests/
History
Add checkout retries
− await reserveStock(order);
+ await retry(() =>
+ reserveStock(order)
+ );
Follow the call into stock.ts
Could the same order reserve stock twice?
Explore Review Edit and test