Linked List
Problems involving linked list manipulation
29 lessons
76 min
Lessons
1. What is Linked List
Pattern overview
2m
2. Prerequisites
What you need first
1m
3. When to Use
Pattern triggers
2m
4. When NOT to Use
Avoid forcing this pattern
2m
5. LeetCode 206 Reverse Linked List - Problem Statement
The problem
2m1 problems
6. LeetCode 206 Reverse Linked List - Solution
The core idea
3m
7. LeetCode 206 Reverse Linked List - Example and Complexity Analysis
Walkthrough and analysis
3m
8. LeetCode 206 Reverse Linked List - Implementation
The approach
4m1 problems
9. LeetCode 141 Linked List Cycle - Problem Statement
The problem
2m1 problems
10. Quiz: Cycle Detection Technique
Test your understanding
2m1 problems
11. LeetCode 141 Linked List Cycle - Solution
The core idea
3m
12. LeetCode 141 Linked List Cycle - Example and Complexity Analysis
Walkthrough and analysis
3m
13. LeetCode 141 Linked List Cycle - Implementation
The approach
4m1 problems
14. LeetCode 19 Remove Nth Node From End - Problem Statement
The problem
2m1 problems
15. Quiz: Finding Nth From End
Test your understanding
2m1 problems
16. LeetCode 19 Remove Nth Node From End - Solution
The core idea
3m
17. LeetCode 19 Remove Nth Node From End - Example and Complexity Analysis
Walkthrough and analysis
3m
18. LeetCode 19 Remove Nth Node From End - Implementation
The approach
4m1 problems
19. LeetCode 143 Reorder List - Problem Statement
The problem
2m1 problems
20. LeetCode 143 Reorder List - Solution
The core idea
3m
21. LeetCode 143 Reorder List - Example and Complexity Analysis
Walkthrough and analysis
3m
22. LeetCode 143 Reorder List - Implementation
The approach
4m1 problems
23. LeetCode 23 Merge K Sorted Lists - Problem Statement
The problem
2m1 problems
24. LeetCode 23 Merge K Sorted Lists - Why Naive Fails
The trap
2m
25. LeetCode 23 Merge K Sorted Lists - Solution
The core idea
3m
26. LeetCode 23 Merge K Sorted Lists - Example and Complexity Analysis
Walkthrough and analysis
3m
27. LeetCode 23 Merge K Sorted Lists - Implementation
The approach
4m1 problems
28. Common Mistakes
Common errors to avoid
2m
29. Section Recap
Summary
1m
Practice Problems
1.
2.
4.
5.
7.
8.
9.
10.
11.
12.
13.
14.
15.