Coding interview questions that aren't LeetCode.
Most coding interviews reward preparation, not skill. Ten questions that reveal how a candidate actually thinks about code.
The questions.
-
01technical medium · api-design
You're designing an API endpoint that returns a user's feed. Pagination strategy? Why?
Strong answerDiscusses cursor vs offset-based pagination · knows when each is appropriate · mentions stability under inserts · sets sensible default + max page size · considers ETag/If-None-Match for caching.Weak answerPicks offset pagination by default without considering stability. No max page size. No caching thought. -
02experience baseline · resume-probe
You mentioned leading a migration to microservices. Team size, hardest thing that broke, what you'd do differently today?
Strong answerConcrete numbers. Specific non-generic failure. 'Differently' shows updated thinking (not just 'hired sooner').Weak answerParaphrases the resume. Vague failure. 'Differently' is generic. -
03situational hard · dates-vs-quality
Your CEO commits you to a public launch date your team can't safely hit. Walk me through what you say to them.
Strong answerSeparates date concern from reputation concern. Proposes options (scope cut, phased rollout, extended beta). Doesn't just say no. Seniors: surfaces trade-offs so the CEO chooses.Weak answerEither agrees and burns out the team, or refuses outright without offering alternatives. -
04technical baseline · postgres
You have a Postgres table with 500M rows of loan applications. A query filtering by applicant_id (indexed) and status (not indexed) takes 3 seconds. Walk me through how you'd diagnose and fix this.
Strong answerAsks about workload before jumping to solutions · proposes EXPLAIN ANALYZE · mentions partial or composite indexes, not just 'add an index' · seniors reference statistics, vacuum, or plan cache unprompted.Weak answerImmediately says 'add an index on status.' Doesn't ask about cardinality. Doesn't mention the query planner. -
05technical hard · observability
What does a useful logging + metrics + tracing stack look like for a service with 100M requests/day?
Strong answerDistinguishes logs/metrics/traces by use case. Knows sampling strategies. Structured logs. Cardinality discipline. Mentions specific tools without being dogmatic about them.Weak answerConflates logs and metrics. No sampling strategy. Suggests logging every request body (cardinality disaster). -
06technical medium · distributed-systems
Describe an event-driven architecture you've designed or significantly contributed to. Delivery guarantees? Failure modes you had to plan for?
Strong answerNames specific system + team + problem. Discusses trade-offs (throughput vs ordering, latency vs durability) explicitly. Cites a real failure mode they lived through. Seniors: how they'd evolve the design today.Weak answerDescribes a textbook Kafka setup without team or context. Vague on delivery guarantees. No real failure mode. -
07culture medium · candor
Your manager proposes a technical direction you think is wrong. Three other senior engineers nod along. What do you say in the meeting, and what do you do in the next 48 hours?
Strong answerSpeaks up in the meeting (even tentatively). Grounds disagreement in reasoning, not ego. Follows up in writing. Separates 'disagree' from 'won't execute.'Weak answerStays silent in meeting, vents to a peer later. Or raises it aggressively without offering an alternative. -
08technical baseline · concurrency
How do you handle concurrent writes to the same resource (e.g., two users editing the same document)?
Strong answerNames a specific strategy — optimistic locking, CRDTs, operational transform, or last-write-wins with explicit trade-off discussion. Mentions how they'd expose conflicts to the user.Weak answerHand-waves about 'locks.' Doesn't distinguish optimistic vs pessimistic. No user-facing conflict resolution. -
09technical hard · scaling
Walk me through how you'd scale a write-heavy service from 100 to 10,000 writes/sec. What breaks first?
Strong answerStarts with profiling current bottleneck, not with 'add Kafka.' Acknowledges write-amplification, index bloat, replication lag. Discusses shard keys + hot-partition mitigation.Weak answerJumps to 'we'd add a queue and scale horizontally' without identifying where the current bottleneck is. -
10situational medium · teammate-conflict
A teammate ships a change you think is wrong after the fact. Already in production. What do you say, what do you do?
Strong answerSeparates the product concern from the relationship concern. 1:1 first. Focuses on systemic change (PR review, tests) — not on blame.Weak answerAvoids the conversation or jumps to escalation. Assigns blame. No systemic improvement suggested.
Lucida runs round one for you, and books the shortlist on your calendar.
Adaptive interviews tuned to the role, rubric-backed scoring, and a founder-ready briefing for every candidate who clears the bar. You do the human call.