KatInterview

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

Interview Practice Problems

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

5985
Problems
2218
Auto-graded
15
Topics
271
Added today

Showing 3481–3510 of 3767 results

  • Statistics & ExperimentsMediumModel answer
    Comparing Two Classifiers with a Proportion Test

    Test whether a higher observed positive rate is statistically significant, starting from basic probability rules and building to a two-proportion z-test.

    Statistics & Experimentshypothesis-testingprobabilityz-testproportions
  • BehavioralMediumModel answer
    Leading Through Organizational Pushback

    Walk through a project where you delivered measurable impact despite stakeholder resistance, explaining your data-driven approach, trade-off decisions, and verification of adoption.

    Behavioralleadershipstakeholder-managementmetricsdecision-making
  • System DesignMediumModel answer
    Real-Time Frequency Ranking System

    Build a distributed system that tracks item frequencies from a high-throughput stream and serves the most popular items with low latency.

    System Designstreamingdistributed-systemsapproximation-algorithmscache
  • System DesignHardModel answer
    Control Signal Interface Across Power and Clock Boundaries

    Design a robust interface to propagate a control bit between two independently-powered, potentially asynchronous SoC domains.

    System Designhardwarepower-managementclock-domain-crossingsoc-design
  • System DesignMediumModel answer
    Client for migrating records between REST APIs with OAuth

    Write a CLI tool that authenticates via OAuth 2.0, fetches paginated data from one API, transforms it, and posts it to another with checksums and idempotency.

    System Designoauthapi-integrationdata-migrationidempotency
  • System DesignMediumModel answer
    Building Observability for Sub-5-Minute Error Budgets

    Design a monitoring and reliability system that protects a 99.99% availability target for a high-traffic SaaS platform handling 100k requests/second.

    System DesignobservabilityreliabilitySLI-SLOalerting
  • Machine LearningMediumModel answer
    Validating Predictive Signals in Quantitative Finance

    Evaluate cross-sectional equity signals using correlation metrics, detect temporal data leakage, and design validation frameworks that prevent overfitting.

    Machine Learningquantitative-financetime-seriesvalidationoverfitting
  • Statistics & ExperimentsMediumModel answer
    Normal Distribution Theory and Practical Limitations

    Explain the mathematical properties of normal distributions and diagnose why they fail for real sensor data with heavy tails and multiple regimes.

    Statistics & Experimentsprobabilitydistributionsstatistical-testinganomaly-detection
  • Machine LearningHardModel answer
    Dimensionality Reduction: PCA vs Autoencoders in Sparse Data

    Contrast PCA and autoencoder approaches when features far outnumber samples, considering training stability, manifold complexity, and evaluation rigor.

    Machine Learningdimensionality-reductionpcaautoencoderscurse-of-dimensionality
  • System DesignMediumModel answer
    Analytics Platform for Page Traffic and User Conversion

    Build a metrics pipeline that tracks popular pages and calculates signup conversion rates with clear event semantics and late-arrival handling.

    System Designanalyticsstreamingdata-pipelinemetrics
  • BehavioralMediumModel answer
    Handling Ambiguous Analysis Under Time Constraints

    Demonstrate how you navigate unclear requirements in quantitative work when stakeholders want fast execution without extensive exploration.

    Behavioralleadershipcommunicationproblem-solvingdecision-making
  • BehavioralHardModel answer
    Build a Responsive Square-Cell Grid in SwiftUI

    Construct a three-column scrollable grid where each cell maintains a 1:1 aspect ratio and responds to screen size changes, with navigation to a detail screen.

    Behavioraliosswiftuimobile-uilayout
  • System DesignHardModel answer
    Build a Stock Trading Application Backend

    Design the architecture for a consumer stock trading app handling order execution, account management, real-time market data, and settlement.

    System Designtrading-systemsfinancial-servicesdistributed-systemsreal-time
  • System DesignMediumModel answer
    Event Seat Reservation System with Timed Locks

    Design a high-traffic event ticketing platform with temporary seat reservations, automatic expiration, and zero overselling under concurrent access.

    System Designdistributed-systemsconcurrencyconsistencyscalability
  • Machine LearningHardModel answer
    Build an End-to-End User Purchase Prediction System

    Design a complete ML pipeline to predict which users will buy after receiving a promotional message, handling causality, cold starts, and production deployment.

    Machine Learningpropensity-modelingcausal-inferenceproduction-mlcalibration
  • System DesignMediumModel answer
    Design a Multi-Locale String Delivery System

    Design a system that serves translated strings to clients worldwide, handling locale resolution, variables, plurals, live updates, fallback, and offline support.

    System Designlocalizationinternationalizationcontent deliverycaching
  • SQL & DataMediumModel answer
    Analyzing User Activity and Engagement Patterns with SQL

    Write SQL queries to analyze user engagement, including identifying inactive users, calculating monthly aggregates, segmenting by usage frequency, and tracking retention.

    SQL & Datasqljoinswindow-functionsaggregation
  • Data Structure DesignMediumModel answer
    Binary Protocol for String Dictionary Persistence

    Build a binary encoder and decoder for string dictionaries with strict validation of format integrity, size bounds, and key ordering.

    Data Structure Designserializationbinary-protocolsvalidationdata-structures
  • Data Structure DesignMediumModel answer
    Build Directory Tree Operations with Path Parsing

    Implement directory creation and listing for an in-memory hierarchical structure with automatic parent creation and path normalization.

    Data Structure Designtreetriepath-parsingstring-manipulation
  • System DesignHardModel answer
    Build a Frame-Perfect Video Playback Engine

    Implement playback logic for a video player that maintains 25fps timing using thread-safe coordination between frame reading and rendering operations.

    System Designconcurrencythreadingproducer-consumerreal-time-systems
  • System DesignMediumModel answer
    Build a React Autocomplete Component with Async Search

    Create a reusable autocomplete input component in React that queries a search API, handles asynchronous responses, and displays suggestions efficiently.

    System Designreactcomponent-designapi-integrationcaching
  • Machine LearningHardModel answer
    Build a Return-Forecasting Pipeline with Sentiment and Price Signals

    Design an end-to-end ML system that predicts next-day stock returns from news sentiment and price data, covering features, model choice, backtesting, and drift monitoring.

    Machine Learningtime-seriesfeature-engineeringbacktestingconcept-drift
  • BehavioralMediumModel answer
    Deadlines, Feedback, and Going the Extra Mile

    A behavioral screen testing how you handle time pressure, missed commitments, critical feedback, self-initiated improvements, and root-cause investigations.

    Behavioralleadershipprioritizationaccountabilitycommunication
  • BehavioralMediumModel answer
    Walk Me Through Your Biggest Contribution on a Recent Project

    Demonstrate ownership, technical judgment, and measurable impact by narrating your specific role in a project you can defend in depth.

    BehavioralownershipSTAR methodimpactcommunication
  • Statistics & ExperimentsMediumModel answer
    Measuring Ad Product Impact and Paywall Optimization

    Design a causal study for a new advertiser optimization feature with limited sample size, then evaluate reducing a profile-view paywall threshold.

    Statistics & Experimentsexperimentationcausal-inferencepower-analysisselection-bias
  • System DesignMediumModel answer
    Design a Table Booking Platform

    Design a scalable system for booking dining tables that handles concurrent requests and prevents conflicts.

    System Designdistributed-systemsconcurrencydatabasescaching
  • System DesignMediumModel answer
    Design a Reverse-Image Search Index at Scale

    Design a system that accepts an image query and returns visually similar images from a corpus of billions, covering storage, indexing, and retrieval trade-offs.

    System Designsystem designstorageindexingvector search
  • BehavioralMediumModel answer
    Digital Wallet Growth Strategy and Diagnostics

    Define success metrics for a mobile payment platform, choose between two competing features, and diagnose why usage stagnates despite efficiency gains.

    Behavioralproduct-metricsprioritizationroot-cause-analysis
  • System DesignMediumModel answer
    Design a Portfolio Aggregation Service

    Build a system that combines investment data from multiple third-party sources into a unified view with clear freshness indicators and consistent calculations.

    System Designdata-ingestioneventual-consistencyfinancial-systems
  • System DesignMediumModel answer
    Design a User Photo Library and Album Service

    Design a scalable backend for storing, organizing, and retrieving user photos and albums, covering API design, storage, data modeling, and reliability.

    System Designobject-storagecdnshardingmetadata