KatInterview

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

Interview Practice Problems

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

6027
Problems
2232
Auto-graded
15
Topics
272
Added today

Showing 4951–4980 of 6027 results

  • System DesignMediumModel answer
    Build a photo-sharing platform architecture

    Architect a distributed system for uploading photos, following users, and serving personalized image feeds at scale with low latency.

    System Designsystem-designdistributed-systemsscalabilitycaching
  • Machine LearningMediumModel answer
    Core ML and Statistics Concepts Explained

    Demonstrate understanding of foundational machine learning and statistics concepts through definitions, examples, and practical considerations.

    Machine Learningmachine-learningstatisticsdecision-treesneural-networks
  • StringsMediumAuto-graded
    Minimum Edits to Make a String k-Palindromic

    Tests the ability to combine classic edit-distance dynamic programming with palindrome structure to find the minimum single-character substitutions needed to make a string palindromic after removing exactly k characters.

    Stringsstringsdynamic-programmingedit-operations
  • Trees & GraphsMediumAuto-graded
    Build Installation Order from Package Dependencies

    Tests graph traversal with cycle detection to compute a valid installation sequence for packages with dependencies.

    Trees & Graphsgraph-traversaltopological-sortcycle-detectiondfs
  • Heaps, Sorting & SearchMediumModel answer
    Streaming Weighted Reservoir Sampling Without Replacement

    Implement a single-pass, memory-efficient weighted sampler that draws k distinct items proportional to weight from a potentially huge stream.

    Heaps, Sorting & Searchreservoir-samplingprobabilitynumerical-stabilityheap
  • Trees & GraphsHardAuto-graded
    Virus Spread Simulation with Recovery and Infection Thresholds

    Models discrete-time epidemic propagation on a grid where cells require multiple infected neighbors to catch the virus and recover after a fixed duration.

    Trees & Graphssimulationbfsgraph-traversal
  • System DesignHardModel answer
    Build a Multi-Region Distributed Storage Platform

    Design a cloud storage system handling file uploads, synchronization, and sharing with strong durability, partition tolerance, and global availability.

    System Designdistributed-systemsstoragereplicationconsistency
  • Greedy & IntervalsMediumAuto-graded
    Venue Hours Checker with Overnight and Multi-Window Schedules

    Tests whether a venue is open at a given weekday and time, handling multiple daily windows, overnight shifts, and week-boundary wraparound.

    Greedy & Intervalsintervalssimulationboundary-conditions
  • BehavioralHardModel answer
    Navigating Critical Technical Risks Under Delivery Pressure

    Describe how you spotted a major technical threat to a project, evaluated its severity, communicated trade-offs across teams, and verified your mitigation worked.

    Behavioralleadershiprisk-managementstakeholder-communicationdecision-making
  • System DesignMediumModel answer
    Build an E-Commerce Book Marketplace Backend

    Architect a scalable platform for browsing, purchasing, and tracking book orders with high-availability search and transactional inventory correctness.

    System Designe-commerceinventory-managementdistributed-transactionssearch-infrastructure
  • BehavioralMediumModel answer
    Delivering Under Pressure: Tight Timelines and Missed Dates

    Demonstrate how you plan and execute under deadline pressure, and how you handle the fallout when a commitment slips.

    Behavioraldeadlinesownershipstakeholder communicationestimation
  • Data Structure DesignEasyAuto-graded
    Sliding Window Hit Counter

    Tests ability to design time-windowed event counters with efficient memory management and query performance using sliding-window techniques.

    Data Structure Designqueuesliding-windowdata-structure-design
  • Heaps, Sorting & SearchMediumAuto-graded
    Binary Search Over a Row-Chained Sorted Grid

    Tests whether a candidate can exploit strict row-chaining in a sorted matrix to locate a target value in O(log(m·n)) time using a single binary search.

    Heaps, Sorting & Searchbinary-searcharraysmatrix
  • BehavioralMediumModel answer
    Concurrency Models: Processes, Threads, and Shared Memory Safety

    Contrast processes and threads in terms of isolation and resource sharing, then explain synchronization challenges in multithreaded programs.

    Behavioralconcurrencyoperating-systemsmultithreadingsynchronization
  • BehavioralMediumModel answer
    Presenting Your Engineering Career and Impact

    Articulate your technical background, leadership scope, and career trajectory in a structured 2-3 minute narrative that demonstrates senior-level thinking.

    Behavioralleadershipcommunicationcareer-narrativetechnical-influence
  • BehavioralMediumModel answer
    Architectural Trade-offs and Process Improvement

    Discuss a past architecture choice with its trade-offs and retrospective, then explain how you'd implement better code review practices on a resistant team.

    Behavioralleadershiptechnical-decisionsteam-processescommunication
  • BehavioralMediumModel answer
    Map Your Growth Arc and Navigate Team Disagreements

    Articulate a concrete 1–3 year technical growth plan and walk through a real collaboration story where you resolved a disagreement with data.

    Behavioralcareer goalsteamworkconflict resolutiontechnical decision-making
  • BehavioralMediumModel answer
    Handling Competing Work and Mid-Course Corrections

    Discuss your framework for juggling multiple urgent tasks and describe a project where you pivoted strategy after starting.

    Behavioralprioritizationadaptabilityleadershipdecision-making
  • SQL & DataMediumModel answer
    Survey Response Rates and Rating Comparison by User Tenure

    Compute an overall survey response rate and compare average notification ratings across user tenure cohorts using SQL joins, aggregation, and bucketing.

    SQL & Datasqlaggregationcohort-analysisjoins
  • BehavioralHardModel answer
    Lead a Cross-Functional Project That Missed Its Launch

    Demonstrate self-awareness, leadership under pressure, and lessons learned by walking through a project that failed to deliver on time or on goal.

    Behavioralbehavioralfailureproject managementleadership
  • Machine LearningHardModel answer
    Design a Question-Answering System with Document Retrieval

    Build a production-ready system that answers questions from local documents using an LLM API, vector search, and streaming responses.

    Machine Learningragllmvector-searchapi-design
  • System DesignMediumModel answer
    Design a RAG-Powered Internal Knowledge Assistant

    Architect a multi-turn chatbot that retrieves answers from internal docs using RAG, enforces per-user access controls, and handles traffic spikes under a 2-second latency budget.

    System Designragvector-searchaccess-controlconversational-ai
  • BehavioralMediumModel answer
    Articulate Technical Ownership of a Complex Project

    Demonstrate technical leadership by walking through a significant project: the challenge, your decisions, system structure, alternatives, outcomes, and retrospective insights.

    Behavioralleadershiparchitecturetrade-offsproject-management
  • Statistics & ExperimentsMediumModel answer
    Design a C-Level Dashboard for a B2B SaaS Product

    Build an executive dashboard replacing a cluttered regional trend chart with actionable KPIs, comparable visualizations, and clear insights.

    Statistics & Experimentsdata-visualizationmetricsdashboard-designexecutive-communication
  • System DesignMediumModel answer
    Choosing CDC Techniques for Multi-Clock Digital Systems

    Explain the failure modes at clock domain crossings and select the right synchronization technique for single-bit signals, events, and multi-bit data transfers.

    System Designdigital-designclock-domain-crossingmetastabilityhardware
  • Trees & GraphsMediumModel answer
    Maze Exploration with Limited Sensor API

    Explore an unmapped grid using a restricted movement API to find a target location, tracking state through relative coordinates.

    Trees & Graphsgraph-traversaldfsstate-trackingbacktracking
  • SQL & DataMediumAuto-graded
    Top Destination by Clear-Day Frequency

    Tests grouping, filtering categorical records, and correctly handling ties when aggregating a frequency count across multiple keys.

    SQL & Dataaggregationgroupingfilteringdictionaries
  • Machine LearningMediumModel answer
    Build K-Means from Scratch and Contrast It with GMM

    Implement Lloyd's algorithm with k-means++ seeding, handle edge cases, then explain how Gaussian Mixture Models and EM extend the core idea.

    Machine Learningclusteringk-meansGMMEM algorithm
  • System DesignMediumModel answer
    Design a Multi-Channel Notification Delivery Platform at Scale

    Design a globally distributed system that delivers billions of push, email, and SMS notifications daily with low latency, at-least-once guarantees, and no duplicates on retry.

    System Designdistributed-systemsmessagingqueuesidempotency
  • BehavioralHardModel answer
    Articulating Your Career Transition

    Explain why you're leaving your current role in a way that demonstrates growth, research, and forward momentum rather than dissatisfaction.

    Behavioralcareer-growthmotivationself-awareness