KatInterview

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

Interview Practice Problems

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

6000
Problems
2221
Auto-graded
15
Topics
273
Added today

Showing 5431–5460 of 6000 results

  • BehavioralMediumModel answer
    Resolving Cross-Functional Trade-offs with Data

    Explain how you handled conflicting goals between teams, defined measurable success criteria, structured validation, and aligned stakeholders across time zones.

    Behavioralleadershipcollaborationexperimentationstakeholder-management
  • BehavioralMediumModel answer
    Production-Ready Python: Language Trade-offs and Pipeline Hardening

    Discuss Python's engineering trade-offs for data processing and describe how to transform a working prototype into a robust production pipeline.

    Behavioralsoftware-engineeringproduction-systemspythondata-pipelines
  • Statistics & ExperimentsHardModel answer
    Evaluating Impact of Non-Randomized Feature Launches

    Design an observational study to measure causal effects when a product feature rolls out gradually across regions without randomization.

    Statistics & Experimentscausal-inferenceexperimentationdifference-in-differencesobservational-studies
  • StringsEasyAuto-graded
    Compress and Decompress a Run-Length Encoded String

    Tests ability to implement both directions of run-length encoding: compressing a plain string into a compact form and expanding it back, handling edge cases carefully.

    Stringsstringsencodingparsing
  • BehavioralMediumModel answer
    Influencing Stakeholders and Navigating Workplace Conflict

    Demonstrate your ability to gain buy-in from non-technical partners and resolve difficult interpersonal or organizational situations through structured storytelling.

    Behavioralcommunicationleadershipstakeholder-managementconflict-resolution
  • Greedy & IntervalsMediumAuto-graded
    Maximize Tasks Completed Before Their Deadlines

    Tests whether candidates can apply a greedy scheduling-with-deadlines strategy to select and order tasks that maximize the count of on-time completions.

    Greedy & Intervalsgreedyintervalsscheduling
  • BehavioralMediumModel answer
    Handling Resource Constraints on a Critical Deliverable

    Describe a situation where you shipped something important with limited time, people, or budget, explaining how you prioritized, communicated trade-offs, and delivered results.

    Behavioralproject-managementprioritizationstakeholder-communicationleadership
  • Data Structure DesignMediumModel answer
    Build an In-Memory Meal Catalog with Search and Updates

    Create a service that stores meal records with auto-incrementing IDs, normalized fields, atomic modifications, and filtered search with multiple sort orders.

    Data Structure Designdata-structuresstate-managementindexingnormalization
  • Trees & GraphsMediumAuto-graded
    Count Separated Land Regions in a Binary Matrix

    Tests graph traversal skills by identifying connected components in a 2D grid using BFS or DFS.

    Trees & Graphsgraph-traversalbfsdfsconnected-components
  • BehavioralMediumModel answer
    Communicating Your Professional Identity and Career Direction

    Articulate your current responsibilities, reasons for exploring new opportunities, and what matters to you in workplace culture and mission.

    Behavioralcommunicationself-awarenesscareer-goals
  • Trees & GraphsMediumAuto-graded
    Largest Connected Land Region

    Measures understanding of graph traversal on a grid to compute connected-component sizes using four-directional adjacency.

    Trees & Graphsgraphsdfsconnected-componentsgrid-traversal
  • Trees & GraphsMediumAuto-graded
    Grid Infection Spread with Time Limit

    Tests BFS-based grid simulation with simultaneous state updates, barrier cells, and handling extremely large iteration counts efficiently.

    Trees & Graphsbfsgridsimulationqueue
  • Dynamic ProgrammingMediumAuto-graded
    Grid Traversal with Sequential Waypoints

    Tests dynamic programming on a grid with diagonal moves, tracking reachable states column-by-column while enforcing waypoint visitation order.

    Dynamic Programminggriddpspace-optimization
  • Data Structure DesignMediumModel answer
    Credit System with Expiration and Time-Ordered Replay

    Build a credit tracking system where allocations expire, spending prioritizes earliest expiration, and operations arrive out of chronological order.

    Data Structure Designheaptime-orderingdata-structure-design
  • StringsEasyAuto-graded
    Maximum Length of Equally Frequent Character Substring

    Find the longest contiguous substring where all distinct characters appear with identical frequency.

    Stringssliding-windowhash-mapfrequency-counting
  • Trees & GraphsEasyAuto-graded
    Tree Height Levels: Bottom-Up Node Grouping

    Compute each node's height in a rooted tree and group nodes by height, testing tree traversal and bottom-up computation.

    Trees & Graphstreesbfsheightbottom-up
  • Linked ListsEasyAuto-graded
    Weave Two Halves of a Linked List

    Tests pointer manipulation intuition by reordering a singly linked list represented as an array, interleaving nodes from the front and back halves.

    Linked Listslinked liststwo pointersarray manipulation
  • Greedy & IntervalsMediumAuto-graded
    Maximum Sum Window Over Sparse Value Ranges

    Find the largest sum of k consecutive positions when values are defined by disjoint intervals on an infinite line.

    Greedy & Intervalssliding-windowtwo-pointersintervalsmodular-arithmetic
  • Trees & GraphsHardAuto-graded
    Calculate Grid Infection Time

    Tests breadth-first search from multiple sources to model time-based propagation in a grid with obstacles and unreachable regions.

    Trees & Graphsbfsgridmulti-sourcegraph-traversal
  • Data Structure DesignMediumModel answer
    Design a Fixed-Heap Memory Manager

    Build malloc and free over a fixed byte array, comparing allocation strategies and analyzing fragmentation trade-offs.

    Data Structure Designmemory-managementdata-structurescomplexity-analysis
  • StringsEasyModel answer
    HTTP Field Extraction with IP Address Frequency Analysis

    Retrieve text fields from multiple endpoints, parse and validate IPv4 addresses, then rank them by occurrence frequency.

    Stringsstring-parsinghttpvalidationfrequency-counting
  • Math & Bit ManipulationEasyAuto-graded
    Average Arc Length Containing a Fixed Point on a Circle

    Tests understanding of geometric probability, the inspection paradox, and computing expectations when a random partition is observed from a fixed viewpoint.

    Math & Bit Manipulationprobabilitygeometryexpectationinspection-paradox
  • SQL & DataMediumAuto-graded
    Find Most Similar Item Collections

    Tests set operations, pairwise comparison, and tie-breaking logic to identify the pair of collections with maximum item overlap.

    SQL & Datasetssimilarity-metricsdata-manipulation
  • System DesignMediumModel answer
    Build a Real-Time Team Chat System Architecture

    Architect a scalable backend for workplace messaging with channels, direct messaging, history retrieval, and live delivery guarantees.

    System Designdistributed-systemsmessagingwebsocketsscalability
  • BehavioralMediumModel answer
    Articulating Career Transition and Role Fit

    Explain your motivation for joining a specific company, map your skills to their business challenges, and address departure logistics professionally.

    Behavioralcareer-motivationself-awarenessprofessional-communication
  • Heaps, Sorting & SearchMediumAuto-graded
    Win Rate Between Two Weighted Dice

    Tests whether a candidate can count strict-win outcome pairs across two multi-faced dice efficiently using sorting and binary search instead of a brute-force double loop.

    Heaps, Sorting & Searchbinary-searchsortingprobabilityarrays
  • Machine LearningHardModel answer
    Streaming ETA System with GPS Signal Processing

    Build a low-latency pipeline that continuously updates driver ETAs using only GPS pings and trip events, handling noisy location data and grid transitions.

    Machine Learningml-system-designstreaminggpsreal-time
  • System DesignHardModel answer
    Building a Scalable Multi-Tenant Event Reservation Platform

    Design a backend system for managing event reservations across multiple venue types with pluggable business logic, concurrency safety, and transactional integrity.

    System Designsystem-designconcurrencytransactionsextensibility
  • Arrays & HashingMediumAuto-graded
    Merge Sorted Quadratic Outputs in Linear Time

    Evaluate a quadratic polynomial on a sorted array and return sorted results without using O(n log n) sorting

    Arrays & Hashingtwo-pointerssortingmath
  • Math & Bit ManipulationHardModel answer
    Build an IP Address Calculator Without Libraries

    Create a utility to parse, compute offsets, and analyze CIDR blocks for IPv4 and IPv6 addresses using integer arithmetic, no networking libraries allowed.

    Math & Bit Manipulationbit-manipulationparsingnetworkinginteger-arithmetic