Concurrency & State
Code Review: Race Condition & State Mutability
hardJS / TS
Problem Statement
Review the following wallet balance transfer handler. Identify how concurrent operations produce inconsistent state, explain the race condition window, and refactor using atomic operations or database transactions.
Includes TypeScript & JavaScript starter code
Start Interview with this Problem