Intermediate·Concept·2 min read

Linked list

Practice this question

Overview

A linked list stores data in nodes where each node points to the next node.

Problems to practice

  • Reverse linked list
  • Detect cycle in linked list
  • Merge two sorted linked lists
  • Middle of the linked list
  • Remove nth node from end
  • Intersection of two linked lists
  • Palindrome linked list

Patterns

  • Dummy node
  • Fast and slow pointers
  • pointer rewiring

Interview guidance

Linked lists test pointer manipulation and careful handling of edge cases like nulls and cycles.


Adapted from 14_DSA_MASTER.md · “5. Linked list”. Code examples are study fragments. Difficulty and core labels are editorial estimates; version-specific behavior should be checked against your project.