KatInterview

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

Interview Practice Problems

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

5971
Problems
2211
Auto-graded
15
Topics
272
Added today

Showing 3661–3690 of 3760 results

  • System DesignHardModel answer
    Build a Cloud File Sync and Storage Platform

    Architect a scalable system for storing, synchronizing, and sharing files across devices with versioning, conflict resolution, and offline support.

    System Designdistributed-systemsstoragesyncconsistency
  • Data Structure DesignMediumModel answer
    Build a Rule-Based Access Control Evaluator with Expression Parsing

    Design and implement an access decision engine that evaluates ordered security rules with conditions expressed in a custom expression language.

    Data Structure Designparsinginterpretersrecursioncompiler-design
  • System DesignMediumModel answer
    Reservation Platform and High-Throughput Event Aggregation

    Build a seat reservation backend with strict consistency and a live vote counter handling millions of writes per second with eventual consistency.

    System Designconcurrencydistributed-systemsstreamingdatabases
  • SQL & DataMediumModel answer
    Cumulative Loss Projection Across Policy Renewals

    Compute the projected total loss from each policy renewal onward, summing the current period's loss with all subsequent renewal periods.

    SQL & Datawindow-functionsaggregationinsurance
  • System DesignHardModel answer
    Build Pipeline Engine: DAG Scheduling and Log Streaming

    Design a CI backend that ingests code events, executes dependency-ordered job graphs on worker fleets, and streams live build logs to developers.

    System Designdistributed-systemsstreamingscheduling
  • Statistics & ExperimentsHardModel answer
    Compare Two Proportions with Unequal, Clustered Samples

    Construct and interpret a confidence interval for the difference in conversion rates when observations are clustered within groups, not independently drawn.

    Statistics & Experimentsstatisticsconfidence intervalsclusteringproportions
  • BehavioralMediumModel answer
    Rebuilding Trust on a Technical Team

    Describe how you established trust with a team or colleague when starting from a difficult foundation or working under pressure.

    Behavioralleadershipcommunicationconflict-resolution
  • BehavioralMediumModel answer
    Fixing State Mutations, Storage, and Routes in React

    Repair a task list component suffering from direct state mutation, missing localStorage sync, inaccessible markup, and hardcoded navigation.

    Behavioralreactstate-managementaccessibilityrouting
  • Machine LearningHardModel answer
    Multimodal ML Systems: Deployment, Retrieval, and Core Concepts

    Design and optimize a constrained multimodal serving system, build fast video retrieval, and explain dropout, normalization, overfitting, and RL-based LLM alignment.

    Machine Learningmultimodalretrievalnormalizationdropout
  • Arrays & HashingMediumModel answer
    Build an Annotation Assignment Schedule

    Construct a valid work schedule assigning human reviewers to tasks under minimum-coverage and no-repeat constraints, then extend it to stay balanced in every prefix.

    Arrays & Hashingconstructiveschedulingcombinatorics
  • BehavioralHardModel answer
    Rebuild Trust After Your Mentor Calls Your Work Superficial

    Demonstrate how you received, processed, and acted on deeply personal critical feedback from a senior colleague without becoming defensive.

    Behavioralbehavioralfeedbackgrowth mindsetself-awareness
  • Statistics & ExperimentsHardModel answer
    Sample Size for A/B Tests and Bayesian Inference

    Calculate per-group sample size for a two-sample z-test given power requirements, and compute a Bayesian posterior probability.

    Statistics & Experimentshypothesis-testingbayesian-inferencepower-analysis
  • System DesignMediumModel answer
    Design a Payment Processing Service with an External PSP

    Design a backend payment service that collects money via a third-party payment provider, guarantees exactly-once charging, and maintains an auditable money ledger.

    System Designpaymentsidempotencydistributed-systems
  • Statistics & ExperimentsHardModel answer
    Estimating Feature Impact Without Randomized Assignment

    Measure the causal effect of a self-selected feature rollout using quasi-experimental methods when A/B testing isn't possible.

    Statistics & Experimentscausal-inferenceexperimentationobservational-studies
  • System DesignHardModel answer
    Building a Distributed Rate Limiting System at Scale

    Design a multi-region rate limiting system handling millions of requests per second with multiple limit dimensions and low latency.

    System Designdistributed-systemsrate-limitingscalabilityconsistency
  • System DesignHardModel answer
    Designing a Multi-Venue Cryptocurrency Order Routing System

    Build an order-placement architecture that routes crypto trades to external exchanges, handling balance checks, partial fills, and venue failures.

    System Designdistributed-systemsfintechlatencyconsistency
  • Data Structure DesignMediumModel answer
    Terminal Naval Combat: Fleet Setup and Attack System

    Implement a console-based naval battle game where two players configure their fleets through text input, then exchange fire until one side is eliminated.

    Data Structure Designobject-oriented-designinput-validationstate-management
  • BehavioralMediumModel answer
    Navigating Technical Disagreements with Colleagues

    Describe a situation where you disagreed with a teammate on a technical decision and explain your approach to resolution while maintaining professional relationships.

    Behavioralconflict-resolutioncommunicationcollaborationleadership
  • BehavioralMediumModel answer
    Cross-Functional Barriers, Growth Feedback, and Team Inclusion

    Discuss a project where you removed blockers, describe feedback that shifted your work style, and explain how you made your team more inclusive.

    Behavioralleadershipcollaborationownership
  • BehavioralMediumModel answer
    Extracting Lessons from Your Internship Experience

    Demonstrate self-awareness and professional growth by articulating key lessons learned during a previous internship across communication, technical planning, and user empathy.

    Behavioralreflectioncommunicationinternshipstakeholder-management
  • Statistics & ExperimentsMediumModel answer
    Forecasting Subscription Revenue for a B2B Collaboration Platform

    Build a three-year revenue model for a freemium SaaS product, calculate unit economics, and evaluate the ROI of increased marketing investment.

    Statistics & Experimentsrevenue-modelingunit-economicsgrowth-projections
  • Trees & GraphsMediumModel answer
    Finding Profitable Exchange Cycles with Transaction Fees

    Given exchange rates between currencies and a per-cycle transaction cost, determine if any sequence of trades can yield a profit.

    Trees & Graphsgraph-algorithmsbellman-fordnegative-cyclelogarithms
  • Machine LearningHardModel answer
    Design a Multi-Objective Ranking Model for Sponsored Products

    Build a ranking system for e-commerce ads that optimizes user engagement, advertiser outcomes, and platform revenue while handling cold-start and fairness.

    Machine Learningrankingmulti-task-learningadse-commerce
  • System DesignMediumModel answer
    Database Indexing and Scaling for High-Volume Profile Lookups

    Design indexing, caching, and scaling strategies for a user profile database handling 10K QPS with regional skew.

    System Designdatabasesindexingcachingreplication
  • System DesignMediumModel answer
    Design a Retrieval-Augmented Chatbot with Access Control

    Build a chatbot that answers employee questions from internal docs while enforcing document-level permissions and maintaining response quality.

    System Designretrieval-augmented-generationaccess-controlembeddingsllm
  • System DesignMediumModel answer
    Build a Royalty Settlement System for Music Streaming

    Design infrastructure to compute artist earnings from streaming activity, close monthly accounting windows, and execute payments with idempotency guarantees.

    System Designdistributed-systemsfinancial-transactionsidempotencyevent-processing
  • System DesignMediumModel answer
    Real-Time Event Processing Pipeline for High-Volume Telemetry

    Build a scalable pipeline ingesting ~1B events/day from distributed clients, delivering both low-latency metrics and accurate daily reports.

    System Designstreamingdata-pipelinedistributed-systemsevent-processing
  • Statistics & ExperimentsMediumModel answer
    Size a Two-Stage Funnel A/B Test on Checkout Flow

    Calculate the required sample size for an A/B test when the primary metric is a rare downstream conversion event in a multi-step funnel.

    Statistics & Experimentsstatisticsa/b testingsample sizepower analysis
  • Data Structure DesignMediumModel answer
    Word Matcher and File System Implementation

    Build a function to find whole-word keyword matches in text, then design an in-memory file system with directory and file operations.

    Data Structure Designstring-processingdata-structurestreedesign
  • BehavioralMediumModel answer
    Defending Architecture Choices in Past Projects

    Articulate technical decisions from a real project: the reasoning, alternatives evaluated, trade-offs accepted, and retrospective insights.

    Behavioralarchitecturetrade-offsdecision-makingtechnical-leadership