Challenges

Master AI-assisted coding through hands-on practice

33 challenges
6 categories
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
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
SEV1: Payment Service Outage
IncidentHard
Critical incident: The payment service is down in production. Users cannot complete purchases. You are the on-call engineer - investigate the dashboards, logs, and traces to identify the root cause and determine the remediation steps.
30m
2.0x XP
0 completed
The Cache Stampede Crisis
IncidentHardPremium
After a cache server restart, the database is being overwhelmed with requests. Diagnose the cache stampede and propose solutions.
30m
2.0x XP
0 completed
Debug API Gateway Timeouts
IncidentHard
Users are experiencing intermittent 504 timeout errors. Investigate the system to find the root cause and propose fixes.
30m
2.0x XP
0 completed
Fix Connection Pool Exhaustion
DebugHardPremium
API requests are timing out. The database connection pool is being exhausted due to leaked connections.
30m
2.0x XP
0 completed
Diagnose the Memory Leak
DebugHardPremium
Production servers are running out of memory. Analyze the code and logs to find the memory leak.
40m
2.0x XP
0 completed
Fix Terraform State Issues
RefactorHardPremium
A Terraform configuration has state management problems causing conflicts in team environments. Fix the backend configuration.
25m
2.0x XP
0 completed
E-commerce Checkout Security Review
Code ReviewHardPremium
Review this checkout system code for security vulnerabilities, data validation issues, and potential exploits. Document all issues you find.
20m
2.0x XP
0 completed
Code Review: Security Audit
Code ReviewHard
Review this authentication code and identify all security vulnerabilities. Document your findings in the review.md file.
30m
2.0x XP
0 completed
Analyze the Database Deadlock
AnalyzeHard
Production transactions are failing with deadlock errors. Analyze the code to identify the deadlock pattern and propose a fix.
25m
2.0x XP
0 completed
Fix the N+1 Query Problem
RefactorHardPremium
An API endpoint is making hundreds of database queries when it should only make one. Optimize the data fetching.
30m
2.0x XP
0 completed
The Mysterious Login Failures
DebugHardPremium
Users report intermittent login failures. The auth service works fine in development but fails randomly in production under load. Find and fix the race condition.
30m
2.0x XP
0 completed