practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6122 original coding, SQL, system design, machine learning and behavioral problems across 15 topics. Coding and SQL problems run against hidden test cases right in your browser; every problem has hints and a worked solution, free.
- 6122
- Problems
- 2268
- Auto-graded
- 15
- Topics
- 272
- Added today
Showing 2611–2640 of 6122 results
- System DesignMediumModel answerDesign an Up-To-Date Knowledge Base Page Crawler
Design a distributed web crawler and storage architecture that guarantees every page in a target wiki is updated at least once every five days.
System Designsystem-designdistributed-systemsweb-crawlerstorage - System DesignMediumModel answerBuilding a Multi-Channel Alerting Pipeline at Billion-Scale
Design a platform that takes events from internal services and delivers them to users through push, SMS, email and an in-app inbox, with retries, deduplication and celebrity-scale fanout.
System Designsystem-designnotificationskafkafanout - Statistics & ExperimentsMediumModel answerAnalyzing Profit Sensitivity and Break-Even Thresholds
Evaluate unit economics, compute break-even volumes under cost and price shifts, and interpret business risk through operating leverage.
Statistics & Experimentsunit-economicssensitivity-analysisbreak-evenoperating-leverage - BehavioralMediumModel answerSpotting Overlapping Projects Across Two Teams
Explain how you would respond on discovering that two teams are separately building the same thing, covering verification, alignment, escalation, and preventing a recurrence.
Behavioralbehavioralleadershipcross-team collaborationconflict resolution - StringsMediumAuto-gradedBoxed Multi-Width Paragraph Formatter
Greedily word-wrap each paragraph to its own width, then frame all resulting lines in one padded ASCII box sized by the widest paragraph limit.
Stringsstringssimulationgreedytext-formatting - System DesignMediumModel answerDesign a Real-Time Event Ticketing and Seat Reservation Platform
Design a scalable event ticketing backend that supports high-throughput browsing and guarantees strong consistency during high-contention seat reservation and payment flows.
System Designsystem-designconcurrencydistributed-systemstransactions - System DesignHardModel answerDesign a Smart Workspace Allocation & Ranking Engine
Architect an enterprise workspace ranking engine that evaluates hard constraints, minimizes space fragmentation, ensures inter-team fairness, and balances user preferences with learned scoring models.
System Designsystem-designranking-systemsrecommendation-systemsdistributed-systems - StringsMediumAuto-gradedSquash Consecutive Letter-Rearrangement Duplicates
Scan a word list and drop each word that is a letter rearrangement of the previously kept word, testing signature comparison and order-preserving single-pass filtering.
Stringsstringsanagramssimulationtwo-pointers - Statistics & ExperimentsEasyModel answerSpectrum of a Matrix Inverse and the Trace of A⁻¹
Show how the eigenvalues of an invertible matrix relate to those of its inverse, multiplicities included, and write the sum of the inverse's eigenvalues in terms of A.
Statistics & Experimentslinear-algebraeigenvaluestracematrix-inverse - BehavioralMediumModel answerDemonstrating Ownership, Analytical Depth, and Responsible AI Use
A detailed prep guide covering technical conflict resolution, root-cause investigation, taking initiative beyond scope, and integrating generative AI tools responsibly.
Behavioralbehavioralleadership-principlesconflict-resolutionroot-cause - System DesignMediumModel answerRapid Multi-Terabyte File Distribution Across Large Server Fleets
Derive the fundamental physical time limits for distributing a 2 TB file to up to 2,000 servers over 25 Gbps links, then design a peer-assisted distribution protocol to match it.
System Designsystem-designdistributed-systemspeer-to-peernetworking - System DesignMediumModel answerDesign a Secure Medical Voice Recording & Transcription Pipeline
Design a scalable, HIPAA-compliant system for uploading, transcribing, and retaining audio consults using asynchronous workflows and strict security controls.
System Designsystem-designsecurityasynchronous-processingcompliance - Arrays & HashingMediumAuto-gradedMaximum Score Level Backed by Enough Servers
Find the largest k such that at least k scores are k or higher, using counting with capped values to reach linear time.
Arrays & Hashingcountingh-indexbucketarrays - Arrays & HashingMediumAuto-gradedConfirmed Connections from Invites and Replies
Match reply events to earlier directed invites, normalize each user pair, and keep the earliest valid reply date per pair, sorted by pair.
Arrays & Hashinghash-mapgroupingdeduplicationdates - Arrays & HashingMediumAuto-gradedMost Common Item Pair Across Shopping Baskets
Find the two products that appear together in the most orders, handling duplicate lines, mirrored pairs, ties, and orders with fewer than two distinct products.
Arrays & Hashinghash-mapcombinationscountinggrouping - Data Structure DesignMediumAuto-gradedCommand-Driven Ledger with Transfer Volume Leaderboard
Simulate an in-memory ledger from text commands, with validated transfers and a leaderboard ranked by outgoing volume with an alphabetical tie-break.
Data Structure Designhash-mapsimulationsortingstring-parsing - BehavioralMediumModel answerTell a Story About Pressure, Pushback, and Unclear Requirements
Prepare a structured behavioral answer about a time you balanced a hard deadline, tough critique, or vague requirements, showing clear trade-offs, personal ownership, and measurable results.
BehavioralbehavioralSTARtrade-offsownership - Arrays & HashingMediumModel answerSolving Multi-Task Online Assessment Challenges
A guide to solving four standard assessment tasks: cumulative running totals, step-by-step array reduction, deterministic matrix block placement, and linear arithmetic series optimization.
Arrays & Hashingarrayssimulationgridoptimization - Data Structure DesignMediumModel answerBuild an In-Memory Store with Nested Transactions and Value Counts
Design a string key-value store with transactional writes, fast rollback, and a count of keys holding a given value, with all transaction semantics spelled out.
Data Structure Designhash-maptransactionsundo-logdesign - Statistics & ExperimentsHardModel answerOptimal Interval Quoting Strategy in a Multi-Round Estimation Game
Analyze and optimize an interval-quoting strategy under a nonstandard payoff rule over 5 rounds to achieve a target total score of 2.0.
Statistics & Experimentsstatisticsprobabilitydecision-theoryoptimization - StringsEasyAuto-gradedKeypad Digit Sequence Word Filter
Filter a word list down to the words whose letters, read through a phone keypad, spell out a given digit string, in original order.
Stringsstringshash-mapfilteringsimulation - System DesignHardModel answerLive Move of a 2TB SQL Server Database to PostgreSQL
Plan a no-downtime move of a busy 2TB SQL Server database to PostgreSQL, covering sync, type mapping, verification, cutover and rollback, with a read-only vendor client you cannot change.
System Designdatabase-migrationcdczero-downtimepostgresql - Data Structure DesignMediumAuto-gradedSimulate a Topic Message Broker with Subscription Tokens
Simulate a topic-based message broker from a command log, handling token issuance, ordered delivery records, and idempotent unsubscribes.
Data Structure Designdesignhash-mapsimulationordering - Stacks & QueuesMediumAuto-gradedRebuild Call Start/Stop Events from Stack Snapshots
Diff consecutive call-stack snapshots by longest common prefix to produce correctly ordered start and end events, including recursion, empty stacks and final closing.
Stacks & Queuesstacksimulationlongest-common-prefixarrays - System DesignMediumModel answerDesigning a Board Game Engine as a Production Library or Service API
Transform a prototype game engine script into a production-grade software library and stateful HTTP microservice with clean architecture and robust edge-case handling.
System Designsoftware-engineeringapi-designrefactoringarchitecture - Linked ListsMediumAuto-gradedFlip Every Block of K Consecutive Values in a Sequence
Reverse each full consecutive block of k elements in a list of values, leaving a short trailing remainder untouched, using the pointer-based linked-list technique.
Linked Listslinked-listin-placepointerssimulation - BehavioralEasyModel answerTell Me About a Time You Failed and What You Learned
Learn how to structure a compelling behavioral response about a past failure, demonstrating clear accountability, systemic resolution, and durable growth.
Behavioralbehavioralownershipleadershipinterview-prep - Data Structure DesignMediumModel answerIn-Memory Calendar Service and Interval Queries
Design and implement an in-memory calendar event service with full CRUD operations, validation rules, conflict detection, and unit testing strategy.
Data Structure Designdesignintervalscrudvalidation - Data Structure DesignMediumModel answerDesign a Weighted Sampling Generator with Dynamic Updates
Implement a class for weighted sampling that supports O(1) sampling for static inputs and logarithmic updates for dynamic environments.
Data Structure Designdesign-dsheaps-sortingmath-bits - Arrays & HashingMediumAuto-gradedPrice Card Payments with Tiered Rates and Running Merchant Totals
Parse comma-separated payment rows, build a per-row rate from several rules plus a per-merchant running total, and round fees exactly to whole cents.
Arrays & Hashinghash-mapparsingsimulationrounding