Skip to content
LEETFLIX

method

Recursion — animated LeetCode walkthroughs

LeetCode problems solved with Recursion. Browse the complete tag, then watch the algorithm move — step-by-step animation, Python and Go.

51 problems · 42 animated · 9 locked

Start with a walkthrough

Full Recursion index

  1. 2Add Two NumbersWatch
  2. 10Regular Expression MatchingWatch
  3. 21Merge Two Sorted ListsWatch
  4. 24Swap Nodes in PairsWatch
  5. 25Reverse Nodes in k-GroupWatch
  6. 44Wildcard MatchingWatch
  7. 50Pow(x, n)Watch
  8. 60Permutation SequenceWatch
  9. 143Reorder ListWatch
  10. 203Remove Linked List ElementsWatch
  11. 206Reverse Linked ListWatch
  12. 224Basic CalculatorWatch
  13. 231Power of TwoWatch
  14. 233Number of Digit OneWatch
  15. 234Palindrome Linked ListWatch
  16. 241Different Ways to Add ParenthesesWatch
  17. 247Strobogrammatic Number IILocked
  18. 248Strobogrammatic Number IIILocked
  19. 255Verify Preorder Sequence in Binary Search TreeLocked
  20. 273Integer to English WordsWatch
  21. 326Power of ThreeWatch
  22. 342Power of FourWatch
  23. 390Elimination GameWatch
  24. 394Decode StringWatch
  25. 439Ternary Expression ParserLocked
  26. 486Predict the WinnerWatch
  27. 509Fibonacci NumberWatch
  28. 544Output Contest MatchesLocked
  29. 736Parse Lisp ExpressionWatch
  30. 770Basic Calculator IVWatch
  31. 772Basic Calculator IIILocked
  32. 776Split BSTLocked
  33. 779K-th Symbol in GrammarWatch
  34. 894All Possible Full Binary TreesWatch
  35. 1106Parsing A Boolean ExpressionWatch
  36. 1265Print Immutable Linked List in ReverseLocked
  37. 1545Find Kth Bit in Nth Binary StringWatch
  38. 1611Minimum One Bit Operations to Make Integers ZeroWatch
  39. 1808Maximize Number of Nice DivisorsWatch
  40. 1823Find the Winner of the Circular GameWatch
  41. 1922Count Good NumbersWatch
  42. 1969Minimum Non-Zero Product of the Array ElementsWatch
  43. 2094Finding 3-Digit Even NumbersWatch
  44. 2487Remove Nodes From Linked ListWatch
  45. 2550Count Collisions of Monkeys on a PolygonWatch
  46. 3304Find the K-th Character in String Game IWatch
  47. 3307Find the K-th Character in String Game IIWatch
  48. 3483Unique 3-Digit Even NumbersWatch
  49. 3565Sequential Grid Path CoverLocked
  50. 3566Partition Array into Two Equal Product SubsetsWatch
  51. 3782Last Remaining Integer After Alternating Deletion OperationsWatch