KatInterview

practice a little every day — you've got this ♡

Interview Practice Problems

Practice 5991 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.

5991
Problems
2219
Auto-graded
15
Topics
270
Added today

Showing 5551–5580 of 5991 results

  • BehavioralMediumModel answer
    Responding to Hard Feedback and Simplifying Without Understanding

    Discuss a time you received difficult criticism from your manager and a time you simplified something prematurely, focusing on learning and lasting change.

    Behavioralself-awarenessleadershiplearninggrowth-mindset
  • System DesignMediumModel answer
    Design a High-Concurrency Reservation Platform

    Build a scalable property reservation system that handles millions of searches and prevents double-booking through strong consistency guarantees.

    System Designdistributed-systemsconcurrencycachingdatabases
  • System DesignHardModel answer
    Build a Data Quality and Observability Layer for Live Pipelines

    Design an end-to-end system for validating, monitoring, and recovering from data failures across both batch and streaming pipelines in a production environment.

    System Designdata-engineeringobservabilitystreamingdata-quality
  • BehavioralMediumModel answer
    Managing Safety Risks in Production AI Systems

    Describe your approach to identifying, evaluating, and mitigating safety issues in AI products, including stakeholder coordination and post-deployment monitoring.

    BehavioralAI safetyrisk managementcross-functional leadershipincident response
  • Machine LearningMediumModel answer
    URL Safety Classifier with Imbalanced Data

    Design and evaluate a classifier to identify malicious URLs given limited labeled examples and severe class imbalance.

    Machine Learningclassificationimbalanced-datafeature-engineeringmodel-evaluation
  • Data Structure DesignMediumModel answer
    Sparse Matrix Implementation with Operations

    Build a memory-efficient representation for sparse matrices and implement addition, multiplication, and display operations.

    Data Structure Designsparse-matrixdictionarymatrix-operations
  • Trees & GraphsMediumAuto-graded
    Minimax Solver for 3×3 Tic-Tac-Toe with Optimal Move Selection

    Implement a recursive game-tree solver that finds the outcome under optimal play and identifies a winning or drawing move for the current player.

    Trees & Graphsrecursionbacktrackinggame-theoryminimax
  • Statistics & ExperimentsMediumModel answer
    Diagnosing a Sudden Rise in Loan Default Rates

    Determine why a lender's delinquency metric increased last quarter by ruling out measurement issues, isolating portfolio composition effects, and comparing performance within matched cohorts.

    Statistics & Experimentsroot-cause-analysisfinancial-metricscohort-analysis
  • Trees & GraphsMediumAuto-graded
    Identify Tree Roots and Trace Ancestor Paths

    Tests graph traversal, parent-pointer navigation, and root identification in tree-like structures represented as parent references.

    Trees & Graphsgraphstreeshash-mapspath-finding
  • BehavioralEasyModel answer
    Motivation for Scale, Cross-Team Collaboration, and Production Ownership

    Explain why you prefer large-scale environments with distributed teams, why you want this specific role, and how you maintain motivation during heavy on-call rotations.

    Behavioralmotivationproduction-systemsdistributed-teams
  • Trees & GraphsMediumAuto-graded
    Maximum Path Bonus in a Weighted Tree

    Tests tree DP (rerooting) by finding the node from which the maximum sum of weighted edges can be collected along any single root-to-leaf path in a tree.

    Trees & Graphstreesdynamic-programmingtree-dpdepth-first-search
  • BehavioralMediumModel answer
    Project Walkthrough: Trade-offs and Resolving Technical Disagreements

    Discuss a past project, explain a key technical trade-off you made with supporting evidence, and describe how you resolved a technical disagreement with a colleague.

    Behavioralbehavioralleadershipcommunicationtechnical-decision-making
  • BehavioralHardModel answer
    Product Management Multi-Round Interview Simulation

    Navigate a full PM interview loop covering strategic thinking, analytics, product design, technical execution, and self-reflection through seven distinct prompts.

    Behavioralproduct-managementstrategyanalyticsleadership
  • Machine LearningMediumModel answer
    Targeting Drivers for Real-Time Demand Spikes

    Build a system that selects which drivers to alert during sudden demand increases at high-traffic locations, balancing response speed with market stability.

    Machine Learningrankinguplift-modelingfeature-engineering
  • BehavioralMediumModel answer
    Walk Me Through a Hard Technical Trade-Off You Owned

    Describe a real decision where you weighed competing architectural paths, navigated stakeholder concerns, and can reflect honestly on the outcome.

    Behavioraltrade-offsdecision-makingstakeholder managementengineering judgment
  • Heaps, Sorting & SearchMediumModel answer
    Optimal Order Fulfillment with Decaying Prices

    Determine the maximum revenue when fulfilling orders from inventory where each item's price equals its current stock level and decreases with each sale.

    Heaps, Sorting & Searchbinary-searchgreedymathpriority-queue
  • Data Structure DesignEasyAuto-graded
    Count Requests Within a Sliding Time Window

    Tests ability to implement a sliding-window rate limiter by counting how many past requests fall within a fixed-duration window ending at each query timestamp.

    Data Structure Designdata structuressliding windowrate limiter
  • Data Structure DesignMediumModel answer
    Real-Time List Filter with Dynamic Maximum Highlighting

    Create a filterable transaction list that automatically highlights entries with the highest amount among currently visible results.

    Data Structure Designfrontendstate-managementfilteringui-components
  • Machine LearningMediumModel answer
    Designing a Post-Purchase Email Recommendation System

    Design and validate an email recommendation feature that sends product suggestions after checkout, focusing on incremental profit and customer experience.

    Machine Learningrecommendation-systemsexperimentationproduct-metricscustomer-lifecycle
  • System DesignHardModel answer
    Debug Random Process Creation Failures in a Production Cluster

    Diagnose why newly spawned processes fail unpredictably on Linux cluster nodes by systematically checking resource limits, kernel logs, and system metrics.

    System Designlinuxdebugginginfrastructureresource-limits
  • Math & Bit ManipulationMediumAuto-graded
    Calculate Power Plant Economics and Renewable Breakeven

    Tests break-even analysis, contribution margin calculations, capacity constraints, and financial comparison of energy generation alternatives.

    Math & Bit Manipulationbreak-even analysisprofit calculationbusiness metrics
  • BehavioralMediumModel answer
    Behavioral Competency Questions for Engineering Roles

    Demonstrate ownership, judgment under ambiguity, incident communication, conflict resolution, accountability, and genuine role motivation through structured stories.

    Behavioralownershipcommunicationconflict-resolutionself-awareness
  • BehavioralMediumModel answer
    Technical Project Deep Dive with Leadership Reflection

    Describe a significant technical project you led: the problem, your decisions, trade-offs, measurable outcomes, your toughest challenge, and how you mentored others.

    Behavioralleadershipproject-managementtechnical-depthmentorship
  • Arrays & HashingMediumAuto-graded
    Trace a Named Value Through a Chain of Symbol Bindings

    Tests whether a candidate can resolve a target symbol to its integer value by following an arbitrarily ordered, acyclic chain of name-to-name and name-to-literal bindings.

    Arrays & Hashinghash-mapstring-parsingsimulation
  • Machine LearningMediumModel answer
    Binary Classification Pipeline for Rare Events

    Design a complete ML pipeline for severely imbalanced classification, including temporal splitting, calibration, threshold selection, and drift monitoring.

    Machine Learningimbalanced-classificationcalibrationtemporal-validationpipeline-design
  • BehavioralMediumModel answer
    Navigate Conflicting Technical Priorities

    Describe a situation where you resolved competing technical or project requirements, explained your decision framework, and owned the outcome.

    Behavioralleadershipdecision-makingstakeholder-management
  • Greedy & IntervalsMediumAuto-graded
    Merge Overlapping Regions from Two Sorted Interval Lists

    Tests two-pointer traversal on sorted interval lists to find all pairwise overlaps in linear time.

    Greedy & Intervalsintervalstwo-pointerssortingarrays
  • Arrays & HashingMediumAuto-graded
    Delivery Experiment Design: Sample Size and Error Control

    Tests ability to calculate sample sizes for superiority and non-inferiority tests, apply multiple-testing corrections, adjust for clustering, and explain sequential monitoring.

    Arrays & Hashingstatisticsexperimental-designhypothesis-testingsample-size
  • Machine LearningHardModel answer
    Build an ML System for Optimizing Short-Term Rental Prices

    Design a production machine learning system that suggests optimal nightly prices for vacation rental hosts based on demand forecasting and price elasticity.

    Machine Learningpricingdemand-forecastingreinforcement-learningcausal-inference
  • Math & Bit ManipulationEasyAuto-graded
    Build the Hailstone Number Chain

    Simulating an iterative number transformation until a fixed point is reached, handling boundary conditions and large intermediate values.

    Math & Bit Manipulationsimulationiterationmathematical-sequences