KatInterview

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

Interview Practice Problems

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

6021
Problems
2229
Auto-graded
15
Topics
272
Added today

Showing 2851–2880 of 3792 results

  • Data Structure DesignMediumModel answer
    Alphabet-Coverage Web Crawler with Rate Limiting

    Build a crawler that prioritizes unvisited first-letters across a link graph while respecting a configurable requests-per-second ceiling.

    Data Structure Designcrawlingrate-limitingpriority-queuededuplication
  • Machine LearningMediumModel answer
    How Neural Networks Work and Learn from Data

    Explain the structure and computation of a neural network, the role of non-linear activations, and how parameters are learned through loss minimization and backpropagation.

    Machine Learningneural-networksdeep-learningfundamentals
  • System DesignMediumModel answer
    Design a Safe, Automated Code-Change Pipeline

    Design an end-to-end pipeline that takes an engineering ticket, uses an LLM agent to propose code changes, and produces a verified pull request safely.

    System Designsystem-designai-agentsdeveloper-toolingsecurity
  • BehavioralMediumModel answer
    Shell Proficiency and Query Building for Engineers

    Demonstrate command-line capabilities and SQL query construction skills expected in software engineering roles.

    Behaviorallinuxsqltoolingfundamentals
  • Statistics & ExperimentsMediumModel answer
    Designing a Metrics Framework for Robot Fleet Monitoring

    Build a layered metrics system to track health, performance, and safety across a fleet of warehouse robots during a firmware deployment.

    Statistics & Experimentsmetricsexperimentationcausal-inference
  • BehavioralHardModel answer
    Walk Me Through a Complex Project You Built

    Present a significant technical project you led, covering architecture decisions, personal ownership, a real failure, and measurable outcomes — while fielding probing follow-ups.

    Behavioralproject deep divetechnical communicationownershiptrade-offs
  • BehavioralEasyModel answer
    Systematic Approach to Debugging Production Incidents

    Describe a repeatable, structured methodology for diagnosing and resolving issues in a live system, from initial triage through root-cause analysis and prevention.

    Behavioraldebuggingincident-responseproductionroot-cause-analysis
  • System DesignHardModel answer
    Design a Multi-Tenant Namespace File Storage Service

    Design a production file storage system with hierarchical namespaces, per-directory capacity limits, atomic duplicate renaming, and petabyte-scale content storage.

    System Designdistributed-systemsstorageconcurrencymetadata
  • System DesignMediumModel answer
    Build a Parallel Image Transform Pipeline With Worker Processes

    Design a resize-then-watermark pipeline for a batch of photos, then scale it across a bounded pool of worker processes with safe output writes and per-photo failure isolation.

    System Designconcurrencymultiprocessingpipeline-design
  • Data Structure DesignMediumModel answer
    Four Algorithm Problems: Graphs, Search, Simulation, and Design

    Solve four independent problems covering Eulerian path reconstruction, timestamped key-value lookup, ray reflection simulation, and a high-throughput score tracker.

    Data Structure Designgraphsbinary-searchsimulationdata-structure-design
  • Machine LearningHardModel answer
    Building an End-to-End ML Ranking Pipeline

    Design a complete machine learning ranking system for personalized content, covering architecture, features, training, serving, and production considerations.

    Machine Learningrankingrecommendation-systemsml-systemsproduction-ml
  • Statistics & ExperimentsMediumModel answer
    Estimate ITT, TOT, and LATE from a Discounted Offer Experiment

    Decompose causal effects when an experiment has two-sided noncompliance, using ITT, TOT/LATE, and the Wald IV estimator.

    Statistics & Experimentscausal inferenceexperimentationinstrumental variablesnoncompliance
  • Statistics & ExperimentsMediumModel answer
    Evaluating a People-You-May-Know Feature Rollout

    Design the full measurement plan for a new connection-suggestion algorithm: metrics, experiment setup, a mixed-results decision, revenue translation, and post-launch monitoring.

    Statistics & Experimentsexperiment-designmetric-selectionnetwork-effectsa-b-testing
  • System DesignMediumModel answer
    Designing Automated Failover for Distributed Databases

    Design a resilient database layer that automatically handles node failures while preventing data loss and ensuring only one primary accepts writes.

    System Designdatabasesdistributed-systemsfault-toleranceconsensus
  • Statistics & ExperimentsHardModel answer
    Statistical Inference: Hypothesis Tests, CIs, and Sampling Strategies

    Apply fundamental statistical inference techniques including hypothesis testing, confidence intervals, sample size calculations, tail probability estimation, and parameter estimation.

    Statistics & Experimentshypothesis-testingconfidence-intervalssamplingmaximum-likelihood
  • System DesignHardModel answer
    Build a Fault-Tolerant Distributed Counter at Scale

    Design a horizontally scalable counter service that guarantees atomic updates, read-after-write consistency, and correct behavior under retries and failures.

    System Designdistributed-systemsconsistencyconcurrencyfault-tolerance
  • BehavioralMediumModel answer
    Research Failure, Feedback, and Validation in Empirical Work

    Explain how you identify and correct flawed empirical methods, incorporate critical feedback, and rigorously validate results in research or modeling projects.

    Behavioralresearchfeedbackvalidation
  • System DesignHardModel answer
    Design a Streaming Conversational AI Assistant

    Design the backend architecture for a multi-turn AI chat product with streaming responses, session history, safety controls, and optional tool integrations.

    System DesignstreamingLLM inferencedistributed systemsreal-time
  • System DesignMediumModel answer
    Design a Personalized Activity Feed for a High-Scale Social Platform

    Design the backend that publishes user posts and serves each follower a ranked, paginated feed, handling celebrity accounts, deletions, and privacy at scale.

    System Designfeedfan-outrankingscalability
  • BehavioralMediumModel answer
    Clarifying Vague Requirements Through Strategic Communication

    Explain how you've used deliberate communication to transform unclear project requirements into aligned execution with measurable improvements.

    Behavioralcommunicationproject-managementstakeholder-alignment
  • Machine LearningHardModel answer
    Gradient Computation Through Consecutive Matrix Multiplications

    Derive gradients for each weight matrix in a chain of matrix products using the chain rule and implement an efficient backward pass.

    Machine Learningbackpropagationmatrix-calculusgradient-descent
  • System DesignMediumModel answer
    Memory Access Patterns and CPU Cache Performance

    Analyze how traversal order affects performance in large arrays, explain the cache hierarchy and address translation, and identify practical optimizations.

    System Designperformancememorycachinghardware
  • Machine LearningHardModel answer
    Diagnose a Churn Model That Collapses Out of Time

    Given a binary classifier with train AUC 0.95, random-split val AUC 0.62, and time-holdout AUC 0.55, systematically identify and fix every failure mode.

    Machine Learningdata-leakagefeature-driftmodel-calibrationcross-validation
  • System DesignMediumModel answer
    Diagnosing and Resolving a Full-Disk Service Outage

    A production service returns 500 errors for all requests due to local disk exhaustion; walk through triage, mitigation, root cause analysis, and prevention.

    System Designincident-responselinuxdisk-usageobservability
  • BehavioralMediumModel answer
    Navigate a Technical Disagreement with a Teammate

    Walk through a real conflict over a technical or project decision, showing how you evaluated competing views and reached a resolution with evidence.

    Behavioralconflict resolutioncollaborationdecision makingcommunication
  • BehavioralMediumModel answer
    Walk Me Through an ML Project: Scope, Milestones, and a Real Disagreement

    Structure a concrete ML project story around scope boundaries, observable milestones, a genuine conflict, and how arriving evidence changed your plan.

    Behavioralproject managementml lifecyclestakeholder communicationscope
  • BehavioralMediumModel answer
    Motivations and Technical Deep Dive in a Senior Engineering Round

    Explain your interest in a company and role, then walk through a project you owned in technical depth, defending decisions under scrutiny.

    Behavioralbehavioralleadershiptechnical-depth
  • System DesignMediumModel answer
    Should We Move Off MySQL? Assessing a Document Database Migration

    Decide whether replacing MySQL with MongoDB makes sense for a live service by analyzing workload evidence, correctness needs, and a safe dual-run cutover plan with measurable proof.

    System Designdatabasesmigrationmongodbmysql
  • Statistics & ExperimentsHardModel answer
    Diagnose a Rare-Disease Screening Test Using Bayes' Theorem

    Apply conditional probability and Bayes' theorem to evaluate the real-world predictive value of a medical screening test with known sensitivity and specificity.

    Statistics & Experimentsconditional probabilityBayes theoremstatisticsprobability
  • BehavioralMediumModel answer
    Career Story, Hardest Build, and a Real Failure

    Show a crisp career arc, then unpack one hard project's constraints, trade-offs, architecture, validation and results, and finish with an honest failure retrospective.

    Behavioralbehavioral-interviewproject-deep-divepostmortemsystem-design