DDSA Solutions

Linked List

24 problems · 21 with full explanations

3 Easy12 Medium3 Hard
Linked list problems often use the fast/slow pointer (Floyd's algorithm) for cycle detection and finding the middle, and dummy head nodes for clean insertion/deletion. Reverse operations should be done iteratively to avoid stack overflow on large lists.

How to practice

To practice Linked List problems effectively, start with the Easy problems listed below, trace through each solution on paper, then re-implement without looking. When you can recognise the linked list pattern within 30 seconds of reading a new problem, move on to Medium difficulty. Use the related topic pages and our study guide for a structured progression.

Open the full study guide →

Start here (Easy + explained)

All Linked List problems