Stripe
6 questions · Coding · System design · Behavioral
Determine whether a string of brackets is balanced.
CodingApproachPush opens onto a stack; on a close, pop and match. Empty stack at the end means valid.
EvaluatesStack intuition and handling of mismatched/empty edge cases.
Find the length of the longest substring without repeating characters.
CodingApproachSliding window with a set/last-seen map; advance the right edge, shrink the left on a repeat.
EvaluatesTwo-pointer/sliding-window fluency and off-by-one care.
Design a rate limiter for a public API.
System designApproachCompare token bucket vs. sliding window, where state lives (per-node vs. Redis), and behavior under bursts.
EvaluatesAlgorithm choice, distributed state, and failure/consistency trade-offs.
Design an idempotent payment API.
System designApproachIdempotency keys, exactly-once semantics, retries, and consistency under partial failure.
EvaluatesCorrectness and safety in money-movement systems.
Model a ledger for double-entry accounting.
System designApproachImmutable entries, invariants that must always balance, and auditability.
EvaluatesData modeling for correctness-critical domains.
Describe a project you are most proud of and your specific contribution.
BehavioralApproachAnchor to measurable impact; be crisp about what YOU did vs. the team, and the trade-offs you made.
EvaluatesOwnership, impact, and honest self-attribution.
Practice these with a free AI mock
Get graded on your real answers, with feedback after every round.
Practice free