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