Timed Coding Prompts
Printable practice resource: Timed Coding Prompts.
Communication and reflection
ready
How to use this resource
Use each prompt as a 35-minute interview rehearsal. Spend 3 minutes clarifying, 22 minutes implementing, 7 minutes testing, and 3 minutes explaining complexity and trade-offs.
Resource
| Prompt | Senior signal to show |
|---|---|
| Merge overlapping availability windows and return the minimal set of available ranges. | Constraint analysis, edge cases, readable implementation. |
| Given event logs, return the top K users by active days within a rolling window. | Hash maps, ordering, complexity explanation. |
| Validate whether a dependency graph can be deployed without cycles. | Graph modeling, failure cases, clear traversal. |
| Implement a rate limiter for a single process. | State modeling, tests, trade-offs. |
| Find stale feature flags from usage records and creation dates. | Data shaping, boundary conditions, practical judgment. |
After each prompt, record one bug, one missing clarification, and one test you should have written earlier.