Exercises
Browse All Exercises
Search and filter across the entire exercise library.
Filters
97 exercises
medium
TypeScript
Next.js API Route - Contact Form Validation
Build a Next.js-style API route handler function that validates contact form submissions and returns appropriate HTTP re...
nextjs
api-routes
validation
+6
medium
TypeScript
Virtual List Component for Large Datasets
Build a virtualized list component that efficiently handles rendering thousands of items by only rendering visible items...
virtualization
performance
scrolling
+6
medium
Python
Token Bucket Rate Limiter
Implement a rate limiter using the token bucket algorithm. The token bucket is a classic algorithm for rate limiting tha...
algorithms
rate-limiting
token-bucket
+5
hard
Python
DAG Task Scheduler
Build a task scheduler that executes tasks while respecting their dependencies using a Directed Acyclic Graph (DAG). Yo...
graph-algorithms
topological-sort
dag
+5
medium
TypeScript
User Data Fetcher with State Management
Build a data fetching component that loads users from a mock API and manages all possible states. ## Requirements Impl...
async
state-management
error-handling
+6
easy
TypeScript
React Counter Component with useState
Create a Counter component using React's `useState` hook that manages a count value and provides user interaction button...
react
hooks
useState
+3
medium
TypeScript
Todo List State Management
# Todo List Component Implement a `TodoList` class that manages todo items with full CRUD functionality. Each todo shou...
typescript
state-management
crud
+5
medium
Python
In-Memory Key-Value Store with TTL
# In-Memory Key-Value Store with TTL Implement a key-value store that supports automatic expiration of keys after a spe...
data-structures
caching
time-to-live
+5
easy
Python
URL Shortener with Base62 Encoding
Build a URL shortener class that can encode long URLs into short codes and decode them back. Implement a `URLShortener`...
hash-map
base62
encoding
+5
medium
Python
Consistent Hashing Ring
# Consistent Hashing Ring Implement a consistent hashing ring data structure that distributes keys across nodes while m...
hashing
distributed-systems
data-structures
+4
medium
Python
Build a Pub/Sub Message Broker
Create a `MessageBroker` class that implements the publish-subscribe pattern. This messaging system allows components to...
pub-sub
observer-pattern
messaging
+5
medium
SQL
Relational Division: Customers Who Ordered All Products in a Category
# Find Customers Who Ordered Every Product in a Category Write a SQL query that finds customers who have ordered **ever...
sql
relational-division
joins
+5
Previous
Page 3 of 9
Next