Reserve shared inventory without overbooking
Serialize a check-and-mutate operation and explain why protecting only the write is not enough.
Swift exercises
Open an exercise, edit the starter code, and run it on the server. Each drill ties back to interview topics—concurrency, collections, debugging, and more.
Serialize a check-and-mutate operation and explain why protecting only the write is not enough.
Filter noisy build records, sort the survivors by severity, and format stable output for reviewers.
Make debugPrint useful for diagnosis while redacting sensitive values consistently.
Build a dictionary from raw API events, then report required endpoints even when some have no failures.
Normalize duplicate tag candidates, keep the strongest score per tag, and render a deterministic ranking.
Run a small script that shows why being on a dispatch queue is not the same thing as being off the main thread.
Practice identifying when Swift uses dynamic dispatch for protocol requirements and when protocol extension methods are resolved statically.