DEMOMediumgo
Concurrent Map Access Panic
Your API handler is panicking under load due to concurrent reads/writes on a standard map. Fix it to handle multiple goroutines safely without data races.
1
Start Voice Recording
Record your voice to explain your thought process
2
Challenge the Scenario
Fix the bug and run your code to verify
3
Stop & Submit for AI Review
Get professional feedback on your approach
Explain Your Approach
Voice Recorder
Design Rationale — Auto-transcribed from your voice. Feel free to edit or type directly.
Code Editor
Loading...
Powered by Go Playground
Output
Click "Run Code" to execute your program...
Fix the code and explain your rationale (voice/text) to submit.