Skip to content
LEETFLIX

type

Linked List LeetCode problems — visual solutions

Every LeetCode problem tagged Linked List — the full catalogue, plus animated visual solutions in Python and Go when a deep-dive exists.

82 problems · 66 animated · 16 locked

Start with a walkthrough

Full Linked list index

  1. 2Add Two NumbersWatch
  2. 19Remove Nth Node From End of ListWatch
  3. 21Merge Two Sorted ListsWatch
  4. 23Merge k Sorted ListsWatch
  5. 24Swap Nodes in PairsWatch
  6. 25Reverse Nodes in k-GroupWatch
  7. 61Rotate ListWatch
  8. 82Remove Duplicates from Sorted List IIWatch
  9. 83Remove Duplicates from Sorted ListWatch
  10. 86Partition ListWatch
  11. 92Reverse Linked List IIWatch
  12. 109Convert Sorted List to Binary Search TreeWatch
  13. 114Flatten Binary Tree to Linked ListWatch
  14. 116Populating Next Right Pointers in Each NodeWatch
  15. 117Populating Next Right Pointers in Each Node IIWatch
  16. 138Copy List with Random PointerWatch
  17. 141Linked List CycleWatch
  18. 142Linked List Cycle IIWatch
  19. 143Reorder ListWatch
  20. 146LRU CacheWatch
  21. 147Insertion Sort ListWatch
  22. 148Sort ListWatch
  23. 160Intersection of Two Linked ListsWatch
  24. 203Remove Linked List ElementsWatch
  25. 206Reverse Linked ListWatch
  26. 234Palindrome Linked ListWatch
  27. 237Delete Node in a Linked ListWatch
  28. 328Odd Even Linked ListWatch
  29. 355Design TwitterWatch
  30. 369Plus One Linked ListLocked
  31. 379Design Phone DirectoryLocked
  32. 382Linked List Random NodeWatch
  33. 426Convert Binary Search Tree to Sorted Doubly Linked ListLocked
  34. 430Flatten a Multilevel Doubly Linked ListWatch
  35. 432All O`one Data StructureWatch
  36. 445Add Two Numbers IIWatch
  37. 460LFU CacheWatch
  38. 622Design Circular QueueWatch
  39. 641Design Circular DequeWatch
  40. 705Design HashSetWatch
  41. 706Design HashMapWatch
  42. 707Design Linked ListWatch
  43. 708Insert into a Sorted Circular Linked ListLocked
  44. 716Max StackLocked
  45. 725Split Linked List in PartsWatch
  46. 817Linked List ComponentsWatch
  47. 876Middle of the Linked ListWatch
  48. 1019Next Greater Node In Linked ListWatch
  49. 1171Remove Zero Sum Consecutive Nodes from Linked ListWatch
  50. 1206Design SkiplistWatch
  51. 1265Print Immutable Linked List in ReverseLocked
  52. 1290Convert Binary Number in a Linked List to IntegerWatch
  53. 1367Linked List in Binary TreeWatch
  54. 1472Design Browser HistoryWatch
  55. 1474Delete N Nodes After M Nodes of a Linked ListLocked
  56. 1634Add Two Polynomials Represented as Linked ListsLocked
  57. 1669Merge In Between Linked ListsWatch
  58. 1670Design Front Middle Back QueueWatch
  59. 1721Swapping Nodes in a Linked ListWatch
  60. 1756Design Most Recently Used QueueLocked
  61. 1797Design Authentication ManagerWatch
  62. 1836Remove Duplicates From an Unsorted Linked ListLocked
  63. 2046Sort Linked List Already Sorted Using Absolute ValuesLocked
  64. 2058Find the Minimum and Maximum Number of Nodes Between Critical PointsWatch
  65. 2074Reverse Nodes in Even Length GroupsWatch
  66. 2095Delete the Middle Node of a Linked ListWatch
  67. 2130Maximum Twin Sum of a Linked ListWatch
  68. 2181Merge Nodes in Between ZerosWatch
  69. 2289Steps to Make Array Non-decreasingWatch
  70. 2296Design a Text EditorWatch
  71. 2326Spiral Matrix IVWatch
  72. 2487Remove Nodes From Linked ListWatch
  73. 2674Split a Circular Linked ListLocked
  74. 2807Insert Greatest Common Divisors in Linked ListWatch
  75. 2816Double a Number Represented as a Linked ListWatch
  76. 3062Winner of the Linked List GameLocked
  77. 3063Linked List FrequencyLocked
  78. 3217Delete Nodes From Linked List Present in ArrayWatch
  79. 3263Convert Doubly Linked List to Array ILocked
  80. 3294Convert Doubly Linked List to Array IILocked
  81. 3507Minimum Pair Removal to Sort Array IWatch
  82. 3510Minimum Pair Removal to Sort Array IIWatch