KatInterview

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

Interview Practice Problems

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

6029
Problems
2232
Auto-graded
15
Topics
273
Added today

Showing 2731–2760 of 3797 results

  • System DesignHardModel answer
    Designing a Prepaid Credit Meter for Shared GPU Clusters

    Design a multi-tenant system that reserves, meters, and settles GPU credits across many nodes, with hierarchical budgets, idempotent APIs, and scheduler integration.

    System Designledgermeteringmulti-tenancyidempotency
  • Statistics & ExperimentsMediumModel answer
    Financial Math and Statistical Estimation Under Real-World Conditions

    Discuss key financial instruments and statistical challenges when estimating volatility from return data with non-ideal properties.

    Statistics & Experimentsfinancestatisticsvolatilityhypothesis-testing
  • BehavioralMediumModel answer
    Integrating AI Tools into Your Development Workflow

    Describe your practical experience using AI coding assistants, where they add value versus where they introduce risk, and how you integrate them responsibly.

    Behavioralai-toolsengineering-judgmentworkflowbest-practices
  • System DesignMediumModel answer
    Design a Multi-Tenant AI Receptionist for Voice and Chat

    Design a platform where businesses deploy an AI receptionist over phone and chat, using approved knowledge, permitted actions, and live human handoff.

    System Designaimulti-tenantreal-timeconversational-ai
  • BehavioralMediumModel answer
    Write a Follow-Up Email After a Team Interview

    Compose a concise, non-pushy follow-up email to a hiring director after a team-match meeting, and justify every structural choice.

    Behavioralwritten communicationstakeholder managementprofessional etiquette
  • System DesignHardModel answer
    JavaScript Concurrency and React's useState vs useRef

    Explain how JavaScript achieves concurrency on a single thread, when real parallelism is possible, and how useState and useRef differ in a React component.

    System Designjavascriptreactconcurrencyhooks
  • System DesignHardModel answer
    Build a Multi-Tenant Tag Index That Scales to Billions

    Design a tagging system supporting tag lifecycle, boolean item queries, autocomplete, and high read/write throughput across thousands of tenants.

    System Designsystem-designdistributed-systemsindexingsharding
  • BehavioralMediumModel answer
    Explain a High-Scale System You Owned

    Walk through the design, trade-offs, production challenges, and measurable outcomes of a distributed system you built or rearchitected.

    Behavioraldistributed-systemsarchitectureownership
  • System DesignMediumModel answer
    Fan-Out Aggregation, Retry Logic, and Load Balancer Repair

    Implement a fault-tolerant multi-source data aggregator with retry handling, then find and fix bugs in a load balancer and extend it with round-robin and consistent hashing.

    System Designfault-toleranceload-balancingretry-logicapi-aggregation
  • System DesignMediumModel answer
    Build an In-Memory Venue Reservation Engine

    Design data structures and APIs for a reservation system that runs entirely in memory, handles concurrent bookings, and prevents double-reservations.

    System Designconcurrencyin-memorylow-level-design
  • Data Structure DesignMediumModel answer
    Duplicate-Aware Collection with O(1) Random Sampling

    Design a multiset supporting insert, remove, and uniform random sampling over all occurrences, each in expected O(1) time.

    Data Structure Designhash-maparrayrandomnessdata-structure-design
  • BehavioralMediumModel answer
    Rescue a Flawed Pipeline Before a High-Stakes Business Decision

    Demonstrate how you investigated a data quality crisis, aligned skeptical stakeholders, and delivered a measurable outcome that changed a real business decision.

    Behavioraldata qualityownershipstakeholder managementmetrics
  • BehavioralMediumModel answer
    Owning an End-to-End Analytics Initiative with Ambiguity

    Demonstrate how you've driven a complete analytics project from vague requirements to measurable impact, including stakeholder management and trade-off decisions.

    Behavioralleadershipanalyticsexperimentationstakeholder-management
  • System DesignMediumModel answer
    Build a Wish-List Price Alert System at Scale

    Design a service where users set a target price on any product and receive a notification the moment the price drops to or below that target.

    System Designsystem-designscalabilitydata-modelingalerting
  • Statistics & ExperimentsMediumModel answer
    Investigate a Sudden Traffic Surge and Conversion Drop

    Diagnose a May spike in weekly sessions paired with a falling conversion rate using segmentation, time-series comparison, and data quality checks on a week-level dataset.

    Statistics & Experimentsanomaly-detectionconversion-ratesegmentationdata-quality
  • Statistics & ExperimentsMediumModel answer
    Implied Volatility: Root-Finding, Seed Selection, and Vega

    Explain Newton–Raphson convergence for implied vol, how to pick a starting sigma, and derive the Black–Scholes Vega with its effect on iteration steps.

    Statistics & Experimentsblack-scholesimplied-volatilitynewton-raphsonvega
  • System DesignMediumModel answer
    Multi-Step Form State Management in Spring Boot MVC

    Design session-based state persistence, field-level validation with error feedback, and exception handling for a wizard-style form in Spring Boot with Thymeleaf.

    System Designspring-bootweb-frameworkssession-managementvalidation
  • BehavioralMediumModel answer
    Triaging a Spike in Delivery Error Reports

    Diagnose and resolve a sudden increase in delivery complaints using metrics, data joins, pattern detection, and validation of fixes.

    Behavioralincident-responsedata-analysisoperations
  • System DesignHardModel answer
    Raw Pointers vs Smart Pointers: Ownership, Safety, and Cost

    Explain how C++ smart pointers encode ownership semantics, prevent memory bugs, and compare in runtime cost against raw pointers.

    System DesignC++memory-managementRAIIperformance
  • System DesignHardModel answer
    Design a Photo and Video Sharing Platform at Scale

    Architect a social media platform where users upload media, follow others, and get a ranked home feed — covering storage, delivery, feed generation, and scaling trade-offs.

    System Designfeed-generationcdnmedia-pipelinesharding
  • Heaps, Sorting & SearchHardModel answer
    Locate Local Minima Using Divide-and-Conquer

    Implement sublinear algorithms to identify a local minimum in a 1D array and a 2D grid by applying binary search to unimodal descent.

    Heaps, Sorting & Searchbinary-searchdivide-and-conqueralgorithms
  • System DesignMediumModel answer
    Word and Phrase Lookup in a File Too Big to Load

    Design an API to find every line containing a word or exact phrase in a large line-oriented text file, comparing a streaming scan against a persistent inverted index.

    System Designinverted-indextext-searchstreamingtokenization
  • Data Structure DesignEasyModel answer
    Two-Part Challenge: Token Frequencies and Multiset Overlap with a Barebones RDD

    Using only flatMap, groupByKey, union, and collect on a minimal RDD class, implement word counting and a duplicate-preserving intersection of two datasets.

    Data Structure Designrddword-countmultiset-intersection
  • System DesignHardModel answer
    Design an End-to-End Loan Origination Platform

    Architect a durable, compliant loan origination system covering product selection, application intake, automated underwriting, third-party data pulls, decisioning, and disbursement.

    System Designsystem-designfintechworkflow-orchestrationdistributed-systems
  • BehavioralMediumModel answer
    Managing Delivery Under Tight Deadlines

    Describe your approach to planning, prioritizing, and executing a project when facing aggressive timelines and constrained resources.

    Behavioralproject-managementprioritizationstakeholder-communication
  • System DesignMediumModel answer
    Digital Timing Analysis and Hardware Test Infrastructure

    Explain setup/hold timing constraints, clock skew effects, violation fixes, and hardware testability methods in digital chip design.

    System Designhardwaretiming-analysistestingdigital-design
  • System DesignHardModel answer
    Build a Fault-Tolerant Future Task Execution Engine

    Design a distributed scheduler that durably stores millions of delayed tasks and dispatches them within seconds of their due time, surviving crashes and partitions.

    System Designdistributed-systemsschedulingfault-tolerancedatabases
  • BehavioralMediumModel answer
    Lead Through Friction: Project Challenges and Hard-to-Manage People

    Demonstrate leadership depth by walking through a project obstacle you owned and a time you managed someone who resisted direction, using concrete actions and outcomes.

    Behavioralleadershipconflict-resolutionpeople-managementSTAR
  • Statistics & ExperimentsMediumModel answer
    A/B Test Inference: Z-Test, Confidence Interval, and Power

    Evaluate statistical significance, construct a confidence interval, calculate required sample size, and apply a multiple-comparison correction for an online experiment.

    Statistics & Experimentsa-b-testinghypothesis-testingsample-size
  • BehavioralMediumModel answer
    A Leader Who Changed How You Work

    Describe a mentor or manager who shaped your approach, and walk through a later situation where you applied that lesson yourself.

    Behavioralleadershipmentorshipgrowthreflection