KatInterview

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

Interview Practice Problems

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

6035
Problems
2235
Auto-graded
15
Topics
274
Added today

Showing 6031–6035 of 6035 results

  • Heaps, Sorting & SearchMediumAuto-graded
    Rank Teams by Weighted Voting Tiers

    Tests the ability to design a multi-key custom sort comparator over aggregated data using a priority-queue-style ranking of teams from ranked ballots.

    Heaps, Sorting & Searchsortingcustom sort keyshash maps
  • Trees & GraphsHardAuto-graded
    Shortest Evacuation Route Through a Burning Building

    Tests BFS shortest-path reasoning on a grid with time-dependent obstacles, requiring candidates to track fire spread and find the minimum escape steps simultaneously.

    Trees & Graphsbfsgridshortest pathmulti-source bfs
  • Data Structure DesignEasyAuto-graded
    Simulate a Bounded LRU Cache with Hit/Miss Tracking

    Tests ability to simulate a sequence of GET/PUT operations on a capacity-bounded LRU cache and return accumulated hit/miss statistics.

    Data Structure Designdata structuressimulationcache
  • Stacks & QueuesEasyAuto-graded
    Simulate a Cafeteria Serving Queue

    Tests the ability to simulate a round-robin service queue where customers cycle back if unserved, tracking when each customer is finally served.

    Stacks & Queuesqueuesimulationdata structures
  • Machine LearningEasyModel answer
    Spot and Fix Feature Leakage in a Churn Model

    Identify subtle data leakage in a customer churn prediction pipeline and explain how to fix it without sacrificing model utility.

    Machine Learningmachine learningfeature engineeringdata leakageclassification