Sweaty Imposter

Senior Track

Full senior loop preparation: every pattern, hard problems, the complete system design bank, every production technique and tradeoff, and behavioral questions on leadership, judgment, and strategy.

Overall Progress
0 / 123
0%

How to Prepare

Interview Within Two Weeks

Narrow to the hard problems in your three weakest patterns, the full design prompt bank, and senior behavioral. Senior loops weigh design and behavioral heavily, so protect that time even when coding feels shakier.

Splitting Your Time

Roughly a third coding, a third system design and deep dives, and a third behavioral, code review, and the specialty rounds. Use the tradeoffs and evolving scenarios to practice defending a choice after the interviewer changes the requirements.

Finding Your Weak Spots

Watch for the tradeoffs you can name but can't defend under a follow-up question; those are what sink senior design rounds. Progress shows your readiness by round and your weakest areas, so start each session there.

Open Your Progress →

Alongside the Drills

The drills keep the material fresh. Pair them with live practice: mock design rounds with a peer, and behavioral stories rehearsed out loud until each fits in about two minutes.

Set Up a Mixed Timed Drill →

Modules

Triage and solve problems from every pattern.

Browse All Patterns

All 10 canonical prompts, including the long tail.

Browse All Prompts

Backoff, idempotency, hedged requests, leases, quorums, and the rest of the senior toolbox.

Browse All Techniques

Including the deeper ones, such as 2PC vs sagas and multi-leader replication.

Browse All Tradeoffs

Leadership without authority, conflict, strategic thinking, hiring, and hard feedback.

Tell me about a time you strongly disagreed with a peer's technical decision. How did you handle it?
Conflict & Influence
Describe a time you disagreed with your manager. What did you do?
Conflict & Influence
Tell me about a technical decision you made that turned out to be wrong. What was the impact and what did you learn?
Failure & Ownership
Describe how you've helped a junior or struggling engineer grow.
Leadership & Mentorship
Tell me about a time you led a project where you had no direct authority over the contributors.
Leadership & Mentorship
Tell me about a time you had to cut scope to hit a deadline.
Prioritization & Tradeoffs
Describe a time you had to decide between rewriting a system and improving it incrementally.
Technical Judgment
Tell me about a time you said no to a significant request from leadership or a major stakeholder.
Prioritization & Tradeoffs
Walk me through a production incident you led the response to.
Crisis & Operations
Tell me about a multi-quarter technical vision or architecture you drove. What was the long view?
Strategic Thinking
Tell me about a hire you advocated for who didn't work out, or one you opposed who did.
Hiring & Team
Describe a time you worked closely with an underperforming engineer (peer or report). What happened?
Hiring & Team
Describe a time a security review or compliance requirement forced you to change a design late.
Cross-Functional Collaboration
Tell me about a time you gave someone difficult feedback. How did they receive it?
Growth & Feedback
Tell me about a piece of feedback you received that was hard to hear. What did you do with it?
Growth & Feedback
Tell me about a time you had to say 'I don't know' in a high-stakes setting.
Self-Awareness

All challenges, including the subtle ones: reference vs value, type coercion, and mutating during iteration.

Practice Debugging

Idempotency-Key, ETag concurrency, 202 + Location for async jobs, webhooks with HMAC, and 404 vs 403.

Practice API Design
Idempotency
You're building a payments API. Clients sometimes retry after a timeout and you cannot double-charge. Pick the best endpoint for creating a charge.
Pagination
A post on your social app can have millions of comments and the feed appends new ones constantly. The mobile client needs to scroll through them. Pick the best endpoint.
Long-Running Operations
Customers can request a CSV export of all their orders. Generating it takes 30 seconds to 10 minutes. Pick the best endpoint design.
Bulk Operations
Your warehouse system needs to update on-hand counts for up to 5,000 SKUs at once after a nightly stock count. Pick the best endpoint.
File Uploads
Users upload videos up to 5 GB to your platform. Pick the best endpoint design for the upload path.
Concurrency Control
Two editors open the same document and both save changes a few seconds apart. You need to detect and reject the second save instead of silently overwriting the first. Pick the best endpoint.
Error Responses
An authenticated user requests GET /v1/documents/{id}, but that document belongs to a different tenant and they have no permission to see it. Pick the best response.
Webhooks
Your platform sends webhook events to subscribers when a payment succeeds. You're designing the outbound HTTP call. Pick the best design.
Auth and Scopes
A third-party scheduling app wants to read your users' calendar events so it can suggest meeting times. It must never be able to create or delete events. Pick the best way to grant access.
GraphQL
Your product has a web app, an iOS app, and a watch app. Each home screen needs a different slice of the same data (profile, recent orders, recommendations, and unread messages), and today each screen makes five or six REST calls. Pick the best API approach.
gRPC
Two internal services exchange about 40,000 small requests per second: the pricing service asks the inventory service for stock levels, and inventory must also stream stock changes back as they happen. Both teams want a typed contract checked at build time. Pick the best API approach.
Schema Evolution
Your v1 user resource has a field called name. Product wants to split it into givenName and familyName. Older mobile app versions read name and will stay in use for a year. Pick the best way to ship the change.
Sync
Your notes app works offline on phones. When a device reconnects, it needs every note created, edited, or deleted since its last sync, out of tens of thousands of notes. Pick the best endpoint.

All 10 prompts: the Strategy pattern for pricing, the State pattern, seat holds per show, and per-subscriber offsets.

Practice OOP Design
Chess Game
Design a chess game: model the board, pieces, legal-move generation, turn order, and game-end detection (checkmate, stalemate, draws). Focus on a piece hierarchy that's easy to extend.
Hotel Reservation System
Design a hotel reservation system that supports searching available rooms by date range and room type, booking with pricing, modifying or cancelling reservations, and check-in/check-out at the property.
Pub/Sub Event System
Design an in-process pub/sub system: publishers post messages to topics, and subscribers receive messages from topics they subscribe to. Support multiple subscribers per topic, retention, and delivery guarantees.
Movie Ticket Booking
Design a movie ticket booking system: theaters with multiple screens, movies showing at scheduled times, seat selection with temporary holds during checkout, and payment that confirms the booking.
Expense Sharing App
Design the core of a Splitwise-style app: users form groups, add expenses paid by one person and split equally, by exact amounts, or by percentage, and see who owes whom. Support settling up and simplifying debts within a group.
Rate Limiter
Design an in-process rate limiter library that services call before handling a request. It must limit per key (user, API key, or IP), support several algorithms, and stay correct under concurrent access.
Notification Service
Design the object model for a notification service that sends email, SMS, and push messages. Callers send an event like 'order shipped'; the service renders a template, respects user preferences and quiet hours, retries failures, and avoids duplicate sends.

Sharding keys, partitioning, hot rows, row-level security, and when to denormalize, across 10 schema prompts.

Practice Database Design
Chat / Messaging
Design the schema for a chat product that supports 1:1 and group conversations, persistent message history, per-user read receipts, and presence. Optimize for the dominant read pattern: 'load the last N messages in a conversation, newest first.'
E-commerce Product Catalog
Design the schema for a catalog that supports products with variants (size, color), nested categories, multi-currency pricing, and per-warehouse inventory. Read-heavy: product detail pages and category listings dominate traffic.
Multi-tenant SaaS
Design the schema for a B2B SaaS where every row belongs to a tenant (workspace). Pick an isolation strategy and justify it. The product has users, projects, and tasks; tenants range from 5 to 50,000 seats.
Social Network Feed
Design the schema for a Twitter-like service: users follow other users, post short messages, and like posts. Generate each user's home timeline. Discuss fan-out-on-write versus fan-out-on-read for timeline assembly.
Booking / Reservations
Design the schema for a booking system (hotel rooms, restaurant tables, or meeting rooms, pick one). Holds expire after a TTL if the user does not check out. Prevent any two confirmed bookings from overlapping for the same resource.
Subscription Billing
Design the schema for a SaaS billing system: customers subscribe to plans, get billed on a cycle, and may upgrade / downgrade with proration mid-cycle. Failed payments retry on a schedule. Every monetary movement must be auditable.
Ride-sharing / Geospatial
Design the schema for an Uber-like service: riders request trips, drivers accept them, and the system must find the nearest available drivers to a pickup point in real time. Trip history powers earnings and dispute resolution.
Double-Entry Ledger
Design the schema for the double-entry ledger behind a wallet or payments product. Every money movement posts balanced debit and credit entries across accounts, balances must be correct at any point in time, and posted history is never edited.
File Storage and Sharing
Design the metadata schema for a cloud drive: users organize files in nested folders, files keep version history, and any file or folder can be shared with users or groups as viewer or editor, with folder shares applying to everything inside.
IoT Telemetry
Design the storage schema for an IoT platform ingesting readings from 2 million devices, each reporting several metrics every 10 seconds. Dashboards show the last hour at full resolution and the last year as hourly rollups, and alerts fire when a reading crosses a threshold.

Dijkstra, Bellman-Ford, Floyd-Warshall, MST, max flow, KMP, Aho-Corasick, suffix arrays, Fenwick trees, and LCA.

Practice Algorithms
Graph - shortest path
You're routing packets across a peering network where some carriers pay you to take their traffic, so a few links have negative cost. You need the cheapest path and must also flag any negative-cost cycles. What's the right approach?
Graph - shortest path
A logistics planner needs the shortest delivery time between every pair of 400 warehouses, given a dense distance matrix with positive and a handful of negative adjustments. The query needs to answer any pair instantly afterwards. What's the right approach?
Graph - MST
A chip designer needs the minimum-cost wiring tree over 2,000 pads where nearly every pair has a candidate route, giving roughly two million edges. Memory is tight and edge sorting would be expensive. What's the right approach?
Graph - max flow
You have 500 interns and 500 projects, with a bipartite graph of who can work on what. You need the largest set of assignments where each intern gets at most one project and each project gets at most one intern. What's the right approach?
Graph - SCC
You're analyzing a microservice call graph to find groups of services that mutually depend on each other (so you can flag the cyclic clusters). The graph has ~200k nodes and ~1M directed edges. What's the right approach?
Binary indexed
An analytics service tracks per-minute revenue and serves two query types: 'add X to minute i' and 'sum of revenue from minute L to minute R'. Both happen millions of times per day over a fixed-size timeline. What's the right approach?
Range queries
You have a fixed array of one million sensor readings and need to answer 'min reading in [L, R]' for ten million queries. The data never changes after load. What's the right approach?
String - palindromes
You're scanning DNA strings up to 10 million bases and need the longest palindromic substring of each. A naive O(n^2) DP is too slow. What's the right approach?
String matching
A content moderator needs to scan each chat message for any match against a dictionary of 50,000 banned phrases. Messages arrive at high throughput; the dictionary is mostly static. What's the right approach?
Suffix structures
You're comparing five large source files (each ~1MB) and need the longest substring that appears in all of them. A pairwise dynamic programming table would be huge. What's the right approach?
Tree - LCA
You have a static org-chart tree of 200,000 employees and must answer 'who's the lowest common manager of employees u and v' for a million queries. What's the right approach?
Binary indexed
Given a permutation of 2 million user-ranking scores, you need the exact count of inversions (pairs i<j with a[i]>a[j]) to measure how reordered a feed became. An O(n^2) double loop is too slow. What's the right approach?
Number theory
A streaming pipeline emits log lines forever and you must keep a uniformly random sample of exactly 1,000 lines at any moment, without knowing the total count in advance and without buffering everything. What's the right approach?
String matching
A network appliance scans a byte stream for one fixed 4 KB signature. Bytes arrive once and can't be re-read, buffer space is limited to roughly the signature size, and attackers can craft traffic to trigger worst-case behavior. What's the right approach?
String matching
A deduplication tool needs to know whether any 64-byte chunk at any offset of a 500 MB firmware image also appears anywhere in a second 500 MB image. Every byte offset is a candidate chunk. What's the right approach?
Dynamic programming
An analytics job scans 2 million trades in time order and needs the length of the longest chain of trades with strictly rising prices, where trades can be skipped. An O(n^2) DP would take trillions of steps. What's the right approach?
Dynamic programming
A courier leaves the depot, must visit 15 stops exactly once, and returns to the depot. A billing contract requires the exact minimum total distance, and the distance matrix is known. What's the right approach?
Range queries
A cloud scheduler tracks reserved CPU across one million time slots. Each reservation adds c cores to every slot in [L, R], and each admission check asks for the peak reserved CPU over [L, R]. Both operations run hundreds of thousands of times. What's the right approach?
Tree - traversal
Firmware with a 2 KB stack must emit the keys of a 100,000-node binary search tree in sorted order. The tree may be badly unbalanced, nodes have only left and right pointers, and the tree may be modified during the walk as long as it's restored. What's the right approach?
Hashing
A cache tier of 400 nodes scales up and down every hour. Clients must compute each key's owner locally with no shared directory, and a node joining or leaving should move as few keys as possible while keeping load even. What's the right approach?
Probabilistic structures
A web crawler must skip URLs it has already fetched across one billion URLs, with a 2 GB memory budget. Occasionally skipping a new URL is acceptable, but refetching a URL already crawled is not. What's the right approach?

Lock-free structures, memory ordering, CRDTs, vector clocks, chain replication, io_uring, and zero-copy I/O.

Open the Systems Quiz
Compare-And-Swap (CAS) / Atomics
Hardware-level atomic instruction: write a new value only if the current value matches expected; otherwise retry.
Immutable / Copy-On-Write
Never mutate a shared object; on write, copy it and atomically swap the reference. Readers are entirely lock-free.
Vector Clocks / Version Vectors
Each replica tags writes with a per-node counter map. Comparing two versions reveals causal order, concurrency, or strict dominance.
Merkle Tree Anti-Entropy
Replicas build a tree of hashes over their key ranges; comparing root then children lets them find divergent ranges in O(log n) hops instead of full scans.
CRDT (Conflict-Free Replicated Data Type)
Data types whose merge function is commutative, associative, and idempotent, so any two replicas converge to the same value without coordination.
Hinted Handoff
If a target replica is down, a healthy node stores the write locally with a 'hint' and forwards it once the target recovers. Keeps write availability high.
Chain Replication
Replicas arranged in a chain: writes enter at the head, flow through every link, commit at the tail. Reads served by tail give linearizable results with simple logic.
Bloom Filter for LSM Negative Lookups
Attach a small probabilistic filter to each SSTable. A point lookup checks the filter first and skips the file if it says 'definitely not present'.
TCP Congestion Control (Reno / Cubic / BBR)
Algorithms that decide how fast TCP sends. Loss-based (Reno, Cubic) treat packet loss as congestion; model-based (BBR) measures bottleneck bandwidth and round-trip time (RTT) directly.
HTTP/3 over QUIC
HTTP 3 runs over QUIC, a UDP based transport with built-in TLS 1.3, per-stream flow control, and connection migration across IP changes.
Event-driven I/O (epoll / kqueue / io_uring)
Readiness-based (epoll, kqueue) or completion-based (io_uring, IOCP) APIs that let one thread watch tens of thousands of file descriptors without a thread per connection.
Zero-copy (sendfile / splice)
Move bytes from disk to socket without copying through user space. The kernel hands page-cache pages directly to the NIC's DMA engine.

The harder calls: mutex vs CAS, shared memory vs messages, leader vs leaderless, quorum vs single-master, and HTTP/2 vs HTTP/3.

Every question, including the multi-input and amortized cases.

Open the Big O Quiz

Run the Senior preset on the clock, then drill the weakest patterns it finds.

Start a Senior Mixed Timed Drill