Topics
Every problem is tagged with the skills it exercises. Each topic page opens with a short primer on what interviewers look for, then lists the problems.
asyncio
Practise Python asyncio interview problems: TaskGroup, gather, Semaphore, Queue, timeouts and cancellation, running on real CPython in your browser.
6 open · 22 lockedBatching
Python batching problems for practical interviews: flush by size or timeout, micro-batching async requests and chunking iterables.
1 open · 4 lockedCaching
Python caching problems for practical interviews: LRU and TTL caches, functools.lru_cache, and async caches that coalesce requests.
1 open · 2 lockedCancellation
Practise Python asyncio cancellation: CancelledError, cleanup in finally, shield, and cancelling task groups cleanly, run in the browser.
4 open · 7 lockedChecksums
Practise Python checksum problems with hashlib and zlib: hashing large files in chunks, verifying integrity and content addressing.
1 lockedCircuit Breakers
Practise implementing a circuit breaker in Python: closed, open and half-open states, failure thresholds and cool-down timing.
1 openConcurrency
Python concurrency problems for practical interviews: races, locks, bounded parallelism and coordination with asyncio primitives.
1 open · 9 lockedDeduplication
Python deduplication problems for practical interviews: order-preserving dedup, idempotency keys, windowed dedup and content hashing.
2 open · 1 lockedDesign
Python design problems for practical interviews: clean class APIs, state machines, dependency injection and code that extends well.
1 open · 4 lockedFile I/O
Practise Python file I/O problems: streaming large files, atomic writes, pathlib, tail and log rotation, run in your browser.
1 open · 8 lockedGenerators
Python generator problems for practical interviews: lazy pipelines, yield from, itertools, and sync and async generator cleanup.
1 open · 8 lockedHash Maps
Practise Python hash map problems from practical interviews using dict, defaultdict and Counter for grouping, counting and indexing.
1 open · 6 lockedHeaps
Python heap problems for practical interviews: top-k, priority queues, k-way merges and timers with heapq, run in the browser.
3 lockedLoad Balancing
Python load balancing problems for practical interviews: round robin, weighted and least-connections selection, and unhealthy backends.
2 lockedMemory
Python memory problems for practical interviews: bounded buffers, __slots__, generators over lists and constant-memory algorithms.
2 open · 10 lockedParsing
Practise Python parsing problems from practical interviews: log lines, CSV, key-value configs and messy input, run in your browser.
2 open · 5 lockedQueues
Practise Python queue problems from practical interviews with collections.deque and asyncio.Queue: FIFO buffers, backpressure, producers.
2 open · 6 lockedRate Limiting
Python rate limiter problems for practical interviews: token bucket, sliding window log and fixed window counters, tested in your browser.
1 open · 3 lockedRetries
Practise Python retry problems: exponential backoff with jitter, retry decorators, idempotency and which errors to retry, in the browser.
1 open · 3 lockedScheduling
Practise Python scheduling problems: delayed and periodic jobs, priority ordering with heapq, cron-like timing and cancellation.
5 lockedSliding Window
Practise Python sliding window problems: time-based windows over events, rolling counts and rate checks with deque, run in the browser.
1 open · 2 lockedStreaming
Practise Python streaming problems: async generators, chunked processing, merging streams and bounded memory over large inputs.
2 open · 13 lockedTimeouts
Python timeout problems for practical interviews: asyncio.timeout, wait_for, deadlines across retries and cleanup on expiry.
2 open · 4 lockedValidation
Python validation problems for practical interviews: reject malformed records, check types and ranges, and report why input failed.
2 open · 9 lockedWorker Pools
Practise Python worker pool problems: asyncio.Queue with N workers, graceful shutdown, error handling and result ordering, in the browser.
1 open · 3 locked