Explain: Event Loop Behavior
ExplainMedium
Analyze this code and predict the output order. Explain why the output appears in that order.
15m
1.5x XP
0 completed
Fix the Broken Layout
Bug FixEasy
A flexbox layout is not behaving as expected. The sidebar should stay fixed while content scrolls.
10m
1.0x XP
2 completed
Fix the Infinite Re-render
Bug FixMedium
A React component is causing an infinite re-render loop. Find and fix the useEffect dependency issue.
15m
1.5x XP
0 completed
Fix the Stale Closure
Bug FixHard
A counter component shows incorrect values due to a stale closure in the event handler. Fix the state management issue.
20m
2.0x XP
0 completed
The Event Emitter Memory Mystery
ExplainHard
This Node.js application has a subtle memory behavior. Analyze the code and predict what will happen when processData is called 1000 times. Explain the memory implications.
15m
2.0x XP
0 completed