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 locked

Batching

Python batching problems for practical interviews: flush by size or timeout, micro-batching async requests and chunking iterables.

1 open · 4 locked

Caching

Python caching problems for practical interviews: LRU and TTL caches, functools.lru_cache, and async caches that coalesce requests.

1 open · 2 locked

Cancellation

Practise Python asyncio cancellation: CancelledError, cleanup in finally, shield, and cancelling task groups cleanly, run in the browser.

4 open · 7 locked

Checksums

Practise Python checksum problems with hashlib and zlib: hashing large files in chunks, verifying integrity and content addressing.

1 locked

Circuit Breakers

Practise implementing a circuit breaker in Python: closed, open and half-open states, failure thresholds and cool-down timing.

1 open

Concurrency

Python concurrency problems for practical interviews: races, locks, bounded parallelism and coordination with asyncio primitives.

1 open · 9 locked

Deduplication

Python deduplication problems for practical interviews: order-preserving dedup, idempotency keys, windowed dedup and content hashing.

2 open · 1 locked

Design

Python design problems for practical interviews: clean class APIs, state machines, dependency injection and code that extends well.

1 open · 4 locked

File 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 locked

Generators

Python generator problems for practical interviews: lazy pipelines, yield from, itertools, and sync and async generator cleanup.

1 open · 8 locked

Hash Maps

Practise Python hash map problems from practical interviews using dict, defaultdict and Counter for grouping, counting and indexing.

1 open · 6 locked

Heaps

Python heap problems for practical interviews: top-k, priority queues, k-way merges and timers with heapq, run in the browser.

3 locked

Load Balancing

Python load balancing problems for practical interviews: round robin, weighted and least-connections selection, and unhealthy backends.

2 locked

Memory

Python memory problems for practical interviews: bounded buffers, __slots__, generators over lists and constant-memory algorithms.

2 open · 10 locked

Parsing

Practise Python parsing problems from practical interviews: log lines, CSV, key-value configs and messy input, run in your browser.

2 open · 5 locked

Queues

Practise Python queue problems from practical interviews with collections.deque and asyncio.Queue: FIFO buffers, backpressure, producers.

2 open · 6 locked

Rate Limiting

Python rate limiter problems for practical interviews: token bucket, sliding window log and fixed window counters, tested in your browser.

1 open · 3 locked

Retries

Practise Python retry problems: exponential backoff with jitter, retry decorators, idempotency and which errors to retry, in the browser.

1 open · 3 locked

Scheduling

Practise Python scheduling problems: delayed and periodic jobs, priority ordering with heapq, cron-like timing and cancellation.

5 locked

Sliding 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 locked

Streaming

Practise Python streaming problems: async generators, chunked processing, merging streams and bounded memory over large inputs.

2 open · 13 locked

Timeouts

Python timeout problems for practical interviews: asyncio.timeout, wait_for, deadlines across retries and cleanup on expiry.

2 open · 4 locked

Validation

Python validation problems for practical interviews: reject malformed records, check types and ranges, and report why input failed.

2 open · 9 locked

Worker 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