Related Object-Oriented Design
Design a Role-Based Password Validator
Design an extensible validator that applies different password policies to regular users, administrators, and super administrators.
Design and implement an in-memory rate limiter as an object-oriented TypeScript module, with handwritten tests and discussion of concurrency considerations.
Implement a rate limiter. Start by asking any clarifying questions, then design and code an in-memory solution.
Work in the provided coding workspace while explaining your decisions to the live interviewer. Validation may use inline tests, examples, comments, or a verbal walkthrough.
Practice this problem in the live coding workspace while the interviewer probes your clarification, implementation, trade-offs, and validation.
Continue to DashboardContinue preparing
Related Object-Oriented Design
Design an extensible validator that applies different password policies to regular users, administrators, and super administrators.
Related Object-Oriented Design
Design a car rental domain model covering vehicle categories and vehicles, branches, customers and drivers, a rental date range, rate-based quotes, reservations, pickup rental agreements, and return inspection with extra charges — preventing overlapping rentals of the same vehicle.
Related Object-Oriented Design
Design a cricket scoring domain model covering teams and players, a match, innings, overs and deliveries, batting and bowling scorecards, extras and wickets, striker rotation, over completion, and match results for a configurable limited-overs format.
Related Object-Oriented Design
Design a system where users form groups, log shared expenses using pluggable splitting strategies (equal/exact/percentage), maintain pairwise balances, and settle debts.