KatInterview

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

Linked Lists Interview Problems

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

5966
Problems
2209
Auto-graded
15
Topics
271
Added today

Showing 31–40 of 40 results

  • Linked ListsMediumAuto-graded
    Merge K Sorted Linked-List Runs Into One

    Tests pointer manipulation by merging k sorted singly-linked-list segments (given as flat lists with run boundaries) into a single sorted list without allocating extra nodes.

    Linked Listslinked listsmergesortingpointer manipulation
  • Linked ListsHardAuto-graded
    Detect Merge Point of Two Rho-Shaped Index Chains

    Tests mastery of Floyd's cycle-detection algorithm and two-pointer merge-point finding applied to implicit linked lists encoded as index arrays.

    Linked Listslinked listscycle detectiontwo pointers
  • Linked ListsEasyAuto-graded
    Find the Entry Point of a Rho-Shaped Index Chain

    Tests cycle detection on implicit linked lists encoded as index arrays, applying Floyd's tortoise-and-hare algorithm to find where a cycle begins.

    Linked Listslinked listscycle detectiontwo pointers
  • Linked ListsEasyAuto-graded
    Merge K Sorted Linked-List Segments Into One

    Tests ability to merge multiple sorted runs stored as a flat list of values, exercising the core linked-list merge-sorted-runs technique in pure Python.

    Linked Listslinked listsmergingsorting
  • Linked ListsHardAuto-graded
    Find All Rho-Shape Cycle Tails in a Functional Graph

    Tests cycle detection via Floyd's / index-chasing on a pure-array functional graph, requiring candidates to identify every node's "tail length" before it enters a cycle.

    Linked Listslinked listscycle detectiongraphsarrays
  • Linked ListsMediumAuto-graded
    Find the Start of a Cycle in a Functional Graph

    Tests cycle detection on index arrays by finding the entry node of a rho-shaped path in a functional graph encoded as a plain list.

    Linked Listslinked listscycle detectiontwo pointers
  • Linked ListsMediumAuto-graded
    Reorder Linked List Nodes by Alternating Ends

    Tests pointer-manipulation intuition by reordering a singly linked list (given as an array) in a front-back-front-back zigzag pattern.

    Linked Listslinked liststwo pointersarray manipulation
  • Linked ListsEasyAuto-graded
    Merge Pre-Sorted Runs in a Linked List

    Tests pointer manipulation by merging a singly-linked list that is already partitioned into consecutive ascending runs into a single sorted list.

    Linked Listslinked listsmergingsortingpointer manipulation
  • Linked ListsMediumAuto-graded
    Sort a Linked List Using Merge Sort

    Tests pointer manipulation by implementing bottom-up merge sort on a singly linked list represented as a dict-based node structure.

    Linked Listslinked listsmerge sortpointer manipulation
  • 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