Challenges
Master AI-assisted coding through hands-on practice
33 challenges
6 categories
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 Null Reference Bug
Bug FixEasy
A REST API endpoint is crashing with a null reference error. Find and fix the bug that occurs when optional user data is missing.
15m
1.0x XP
1 completed
Build a Todo API
BuildEasy
Create a simple REST API for managing todos. Implement CRUD operations with the provided Express app skeleton.
20m
1.0x XP
0 completed
Build a Rate Limiter
BuildMedium
Implement a rate limiting middleware that limits requests per IP address. Start with the provided skeleton and complete the implementation.
30m
1.5x XP
0 completed
Fix the Middleware Order
Bug FixMedium
Authentication middleware is not protecting routes correctly. The order of middleware matters!
20m
1.5x XP
0 completed
Fix the Async/Await Bug
Bug FixMedium
An async function is not waiting for data to load before processing. Fix the promise handling issue.
20m
1.5x 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
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 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
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
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
Fix Docker Compose Networking
Bug FixEasy
Services in a Docker Compose stack cannot communicate with each other. Debug and fix the networking configuration.
15m
1.0x XP
0 completed
Fix the Kubernetes Deployment
Bug FixMedium
A Kubernetes deployment is failing to start. Debug the manifest and fix the configuration issues preventing pods from running.
20m
1.5x XP
0 completed
Fix the CI Pipeline
Bug FixEasy
The GitHub Actions workflow is failing. Debug and fix the configuration issues.
15m
1.0x XP
0 completed
Optimize the Dockerfile
RefactorMedium
A Docker build is taking too long and creating huge images. Optimize the Dockerfile for faster builds and smaller images.
25m
1.5x 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
Fix SQL Injection Vulnerability
Bug FixMedium
A database query is vulnerable to SQL injection attacks. Fix the security issue using parameterized queries.
20m
1.5x XP
0 completed
Analyze Payment Retry Logic
AnalyzeMedium
Analyze a complex requirement for payment retry functionality. Consider failure scenarios, security implications, and user experience.
40m
1.5x XP
0 completed
Analyze User Notification System
AnalyzeEasy
Analyze a requirement for a user notification system. Identify edge cases, write user stories, and ask clarifying questions.
30m
1.0x XP
0 completed
Document the Event System
DocumentMedium
Create comprehensive documentation for a TypeScript event emitter system. Focus on type safety and usage patterns.
40m
1.5x XP
0 completed
Document the Cache Module
DocumentEasy
Write AI-consumable documentation for a caching utility module. Include setup, usage examples, and API reference.
30m
1.0x XP
0 completed
Verify the API Documentation
VerifyEasy
An AI generated API documentation. Spot the inaccuracies, made-up endpoints, and incorrect information before publishing.
10m
1.0x XP
0 completed
The Shopping Cart Mystery
Bug FixEasy
Customers are complaining about wrong totals in their shopping carts! Some orders show $NaN, others have incorrect amounts. Can you find the bugs before Black Friday?
1.0x XP
0 completed
Review the Authentication PR
VerifyMedium
An AI generated a PR for JWT token refresh functionality. Find the hallucinations, logic errors, and security issues before it gets merged.
15m
1.5x 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