KatInterview

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

Coding Interview Problems

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

5969
Problems
2211
Auto-graded
15
Topics
272
Added today

Showing 2101–2111 of 2111 results

  • Dynamic ProgrammingMediumAuto-graded
    Minimum Cost to Visit All Checkpoints

    Tests bitmask DP over a small set of checkpoints to find the minimum-cost path that visits every checkpoint exactly once, starting and ending at a fixed depot.

    Dynamic Programmingdynamic programmingbitmask DPgraphs
  • Greedy & IntervalsEasyAuto-graded
    Maximize Jobs Completed Before Their Deadlines

    Tests greedy scheduling with deadlines: select and order unit-duration jobs to maximize the count of jobs finished on or before their individual deadlines.

    Greedy & Intervalsgreedyintervalssorting
  • Stacks & QueuesHardAuto-graded
    Validate Nested Expressions with Typed Bracket Scopes

    Tests bracket matching with complex rules: typed pairs, mandatory ordered sub-structure inside scopes, and precedence-aware nesting constraints.

    Stacks & Queuesstacksbracket matchingparsingsimulation
  • Trees & GraphsMediumAuto-graded
    Minimum Steps to Collect All Treasure on a Grid

    Tests BFS shortest-path reasoning on a grid by finding the minimum steps to collect all treasure chests from a starting position, visiting each chest at least once.

    Trees & GraphsgraphsBFSgridshortest path
  • Math & Bit ManipulationMediumAuto-graded
    Count Lattice Paths Through Forbidden Checkpoints

    Tests combinatorial counting of grid paths using inclusion-exclusion and binomial coefficients, requiring precise arithmetic on a bounded lattice.

    Math & Bit Manipulationcombinatoricsmathdynamic programming
  • Trees & GraphsHardAuto-graded
    Fastest Delivery Route with Fuel Stop Limit

    Tests the ability to apply Dijkstra's algorithm augmented with a constraint dimension (fuel stops used) to find the minimum-time path in a weighted graph.

    Trees & Graphsgraphsdijkstrashortest pathdynamic programming
  • Linked ListsEasyAuto-graded
    Find the Entry Point of a Functional Rho-Shaped Sequence

    Tests cycle detection on an index-based "next" array by finding where the tail of a rho-shaped sequence first enters its cycle.

    Linked Listslinked listscycle detectiontwo pointers
  • 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