practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6063 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.
- 6063
- Problems
- 2246
- Auto-graded
- 15
- Topics
- 274
- Added today
Showing 4381–4410 of 6063 results
- BehavioralMediumModel answerWhen You and a Colleague Saw the Right Path Differently
Walk through a real professional disagreement over a meaningful tradeoff, showing how you raised concerns, kept the relationship, and protected the outcome.
Behavioralconflict resolutiondisagree and commitvalues tradeoffscross-functional collaboration - Statistics & ExperimentsMediumModel answerMeasuring the Real Value of an AI Creative Assistant for Advertisers
Design a rigorous evaluation framework to determine whether an AI-powered ad creative tool creates genuine advertiser value or just shifts behavior around existing tools.
Statistics & Experimentsexperimentationproduct-metricscausal-inferenceA/B-testing - Statistics & ExperimentsMediumModel answerRank of BA When AB Has Rank 2 in a 4×4 Setting
Given two 4×4 real matrices with rank(AB) = 2, find every integer value rank(BA) can take and construct matrices achieving each extreme.
Statistics & Experimentslinear-algebrarankmatrix-products - Machine LearningHardModel answerBuild a RAG-Powered Voice Assistant with Grounding Guarantees
Design a retrieval-augmented voice assistant that answers from a trusted knowledge base under a 500ms latency budget while minimizing hallucinations.
Machine LearningRAGLLMsystem-designvoice - System DesignMediumModel answerEvent Ingestion Pipeline with Semi-Structured Payloads
Design a fault-tolerant pipeline that ingests 50k heterogeneous JSON events per second and serves both per-user lookups and 90-day aggregate analytics.
System Designdata-pipelineskafkaanalyticsschema-evolution - BehavioralMediumModel answerDescribing Your Role: Scope, Ownership and Impact
Explain your current position, responsibilities, and contributions in a way that demonstrates senior-level ownership and sets up productive follow-up discussion.
Behavioralbehavioralleadershipcommunication - Data Structure DesignHardModel answerBuilding a Live Text Editor: Buffer, History, and Suggestions
Design and implement a text editor with insert/delete operations, undo/redo history, prefix-based autocomplete with frequency ranking, and multi-user concurrent editing.
Data Structure Designdata-structuresundo-redotrieoperational-transformation - Data Structure DesignMediumAuto-gradedMaintain Contiguous Delivery Sequence and Detect Gaps
Tests managing out-of-order arrivals with sets to track the longest complete prefix and identify missing elements in a sparse range.
Data Structure Designsetstrackingstate-management - Trees & GraphsMediumModel answerAssemble a Binary Tree from Parent-Child Edge Records
Given a list of directed labeled edges, reconstruct the binary tree they describe and return its root node.
Trees & Graphsbinary-treehash-maptree-construction - BehavioralHardModel answerNarrate Your Career Arc, Defend a Competitive Moat, Right-Size a Presentation
Walk through your career with hypotheses and outcomes, analyze a company's durable advantage with evidence, and describe a high-stakes presentation trade-off under deadline.
Behavioralcareer narrativecompetitive strategystakeholder communicationdata science - SQL & DataMediumModel answerSQL Window Functions, Join Types, and Python Aggregation
Demonstrate SQL window functions, join semantics, ranking functions, string aggregation, and Python dict-based accumulation over transactional row data.
SQL & Datawindow-functionsjoinsaggregationpython - Data Structure DesignMediumAuto-gradedTime-Travel Array with Historical Query Support
Design a data structure that tracks an array's evolution through snapshots and answers queries about past states efficiently.
Data Structure Designbinary-searchversioningdata-structures - StringsMediumAuto-gradedExtract Stock Symbols from a Text Snippet
Tests whole-word, case-insensitive multi-token matching with trie-based scanning and deduplication ordered by a reference list.
Stringsstringshashingtrie - BehavioralHardModel answerAdaptability, Leadership, and Feedback in Engineering Roles
Demonstrate cultural adaptability, cross-functional leadership, inclusive communication, and a concrete feedback loop in a multi-part behavioral interview.
Behavioralleadershipculture-fitfeedbackcross-functional - Arrays & HashingHardAuto-gradedPeak Subarray Sum in a Run-Length-Encoded Sequence
Tests whether a candidate can find the maximum sum of a fixed-length window over a run-length-encoded array too large to expand in memory.
Arrays & Hashingsliding-windowprefix-sumsrun-length-encodingbinary-search - StringsMediumAuto-gradedWidest Alphabetic Boundary Gap Across Tokens
Tests string scanning, ASCII letter detection, and single-pass maximum tracking with tie handling across whitespace-delimited tokens.
Stringsstringsscanningcase-normalizationties - BehavioralMediumModel answerJudgment, Prioritization, and Influence: Three Behavioral Prompts
Three structured behavioral prompts testing how you reason under uncertainty, make deliberate trade-offs, and drive change without relying on formal authority.
Behavioralbehavioralleadershipcommunicationinfluence - BehavioralMediumModel answerHelping an Underperforming Team Member During a Critical Deadline
Describe how you've supported a colleague missing milestones on a time-critical project while protecting team productivity and morale.
Behavioralleadershipteamworkmentorship - BehavioralMediumModel answerRoadmapping the Next Marketplace Feature for Third-Party Sellers
A product-judgment exercise: pick one seller segment and one pain point, scope a prioritized v1, and define seller metrics with shopper guardrails.
Behavioralproduct-strategyseller-experienceexperimentationprioritization - SQL & DataMediumModel answerCompare Acquisition Channels by Spend, Retention, and Early Revenue
Write SQL to profile marketing channels across four dimensions: user counts, top spenders, cohort retention, and 90-day ARPU.
SQL & Datawindow-functionscohort-analysisaggregationjoins - BehavioralMediumModel answerArticulating Career Motivation and Technical Projects
Walk through your career goals, job search strategy, and a technical project in depth during an HR or culture-fit conversation.
Behavioralcareer-motivationcommunicationtechnical-storytelling - System DesignMediumModel answerCaching and Inventory Architecture for a Vacation Rental Platform
Design a multi-tier caching system for a high-traffic rental marketplace that serves fast search results while guaranteeing zero double-bookings through authoritative holds.
System Designcachingdistributed-systemsconsistencyinventory-management - Arrays & HashingEasyAuto-gradedVerify Which Orders Have Received Payments
Given two unsorted lists of records linked by a shared booking_id, return a boolean per order indicating whether at least one matching payment exists.
Arrays & Hashinghash-setlookupaggregation - BehavioralMediumModel answerNavigating an Ethical Dilemma at Work
Walk through a real workplace situation where you faced a genuine moral tension, how you reasoned through it, and what you did.
Behavioralethicsintegrityescalationjudgment - Trees & GraphsMediumAuto-gradedGrid Land Regions: Total Count and Unique Footprints
Tests grid flood-fill for connected-component counting and translation-invariant shape canonicalization to identify structurally distinct land regions.
Trees & Graphsgraph traversalflood fillconnected componentshashing - StringsMediumModel answerJava String Interning, Identity, and Concatenation Costs
Trace identity vs equality across literals, `new String`, `intern`, and constant folding, then compare loop `+`, `StringBuilder`, and `StringBuffer`.
Stringsjavastring-poolimmutabilitystringbuilder - Machine LearningMediumModel answerWhy L1 Regularization Zeros Out Coefficients but L2 Does Not
Compare Lasso and Ridge penalties on a 500-feature regression model, explaining mathematically and geometrically why one produces sparse weights and the other does not.
Machine Learningregularizationlassoridgelinear-regression - System DesignMediumModel answerTCP Three-Way Handshake: Spot the Valid State Claim
Identify the one correct statement about TCP connection-establishment state transitions and explain why the other three are wrong.
System DesignnetworkingTCPstate-machine - SQL & DataMediumModel answerValidate and Aggregate Subscription Event Data
Profile a subscription events table to verify data integrity, then compute the earliest active date and most recent inactive date per subscription.
SQL & Datasqlpandasdata-validationtime-series - Trees & GraphsMediumAuto-gradedMinimum-Cost Flight Path with Departure Window
Tests constrained graph search: find the cheapest multi-leg flight route where only the first leg must depart within a given date range, connections must respect time ordering, and cycles are forbidden.
Trees & Graphsdijkstragraphsshortest-path