~4 min by voice
The interviewer wants to see whether you understand that race conditions happen not only in multithreaded code but also in an ordinary backend with parallel requests to shared data. It's important to give a concrete example, explain the "read, check, write" mechanism, and know practical ways to protect against it at the database level.
The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.
Sign in to answerBest with headphones · ~4 min