# LeetCodeAnimation | 吴师兄学算法 | Knowledge Base | Instagit

Demonstrate all the questions on LeetCode in the form of animation.（用动画的形式呈现解LeetCode题目的思路）

GitHub Stars: 76.7k

Repository: https://github.com/MisterBooo/LeetCodeAnimation

---

## Articles

### [How LeetCodeAnimation Categorizes Problems by Difficulty Level](/MisterBooo/LeetCodeAnimation/problems-categorized-by-difficulty-level)

Discover how LeetCodeAnimation categorizes problems by difficulty level: Easy Medium or Hard. Explore the MisterBooo/LeetCodeAnimation repository for clear problem classification.

- Tags: deep-dive
- Published: 2026-03-01

### [Recursive vs Iterative Solutions in LeetCodeAnimation: A Complete Comparison](/MisterBooo/LeetCodeAnimation/recursive-vs-iterative-solutions-comparison)

Compare recursive vs iterative solutions with animation-ready code from LeetCodeAnimation for problems like Binary Tree Inorder Traversal. Master algorithms efficiently.

- Tags: comparison
- Published: 2026-03-01

### [Space Optimization Techniques in LeetCodeAnimation: 7 Patterns for O(1) Auxiliary Space](/MisterBooo/LeetCodeAnimation/space-optimization-techniques-used-in-solutions)

Discover O(1) auxiliary space techniques for LeetCode problems. Explore in-place mutation, two-pointer scanning, XOR, and more in MisterBooo's LeetCodeAnimation repository.

- Tags: deep-dive
- Published: 2026-03-01

### [How Time Complexity Is Analyzed Across Similar Problems in LeetCodeAnimation](/MisterBooo/LeetCodeAnimation/time-complexity-analysis-across-similar-problems)

Discover how LeetCodeAnimation consistently annotates time complexity across similar problems. Get predictable asymptotic signatures for algorithmic families through manual code and narrative analysis.

- Tags: analysis
- Published: 2026-03-01

### [Memory-Efficient Solution Approaches in LeetCodeAnimation: O(1) Space Techniques Explained](/MisterBooo/LeetCodeAnimation/memory-efficient-solution-approaches-demonstrated)

Master O(1) space complexity solutions in LeetCodeAnimation. Explore efficient techniques like two-pointers, Floyd's cycle detection, and bitwise operations for memory-efficient problem solving.

- Tags: deep-dive
- Published: 2026-03-01

### [String Manipulation Problem Patterns in LeetCodeAnimation: 7 Algorithmic Techniques Explained](/MisterBooo/LeetCodeAnimation/string-manipulation-problem-patterns)

Explore 7 string manipulation problem patterns in LeetCodeAnimation: Two-Pointer, Stack, In-Place Reversal, Backtracking, Hash Map, Trie, and Numeric Conversion. Master these techniques for coding success.

- Tags: tutorial
- Published: 2026-03-01

### [Math-Based LeetCode Problems in the LeetCodeAnimation Repository: A Complete Guide to Number Theory and Arithmetic Solutions](/MisterBooo/LeetCodeAnimation/math-based-leetcode-problems-collection)

Explore math-based LeetCode problems in MisterBooo/LeetCodeAnimation. Discover number theory and arithmetic solutions with clear visual explanations and production-ready code. Master tricky algorithms today.

- Tags: guide
- Published: 2026-03-01

### [Greedy Algorithm Problem Solutions in LeetCodeAnimation: 4 Classic Examples Explained](/MisterBooo/LeetCodeAnimation/greedy-algorithm-problem-solutions)

Explore greedy algorithm problem solutions for four classic LeetCode problems with animations in C++, Java, and Python. Master Sort Colors, Stock Profit, and Majority Element.

- Tags: tutorial
- Published: 2026-03-01

### [Graph Algorithm Problems in LeetCodeAnimation: Complete BFS and DFS Coverage](/MisterBooo/LeetCodeAnimation/graph-algorithm-problems-covered-bfs-dfs)

Explore LeetCode graph algorithm problems with animated BFS and DFS solutions. MisterBooo covers tree traversals, island detection, and more.

- Tags: deep-dive
- Published: 2026-03-01

### [Sorting Algorithm Animations and Comparisons in LeetCodeAnimation](/MisterBooo/LeetCodeAnimation/sorting-algorithm-animations-comparisons)

Explore sorting algorithm animations and comparisons in the LeetCodeAnimation repository. Discover visual aids and analysis for LeetCode problem solutions. Optimize your coding practice.

- Tags: deep-dive
- Published: 2026-03-01

### [Backtracking Algorithms in the LeetCodeAnimation Repository: A Complete Guide](/MisterBooo/LeetCodeAnimation/backtracking-algorithm-examples-in-repo)

Explore backtracking algorithms in the LeetCodeAnimation repository. Discover depth-first search examples for Generate Parentheses and Palindrome Partitioning and master the choose explore unchoose pattern.

- Tags: deep-dive
- Published: 2026-03-01

### [How Stack and Queue Problems Are Implemented in LeetCodeAnimation](/MisterBooo/LeetCodeAnimation/stack-and-queue-problem-implementations)

Discover how LeetCodeAnimation implements stack and queue problems using built-in collections like Java Stack and Python deque. Understand the direct integration of data structures in solutions.

- Tags: internals
- Published: 2026-03-01

### [Where to Find Visualizations of the Two-Pointer Technique in LeetCodeAnimation](/MisterBooo/LeetCodeAnimation/two-pointer-technique-visualizations)

Find two-pointer technique visualizations as GIFs in the LeetCodeAnimation repository. Explore animated solutions to common coding problems and enhance your algorithm understanding.

- Tags: tutorial
- Published: 2026-03-01

### [Common Hash Table Problem-Solving Approaches in C++: 6 Patterns from the LeetCodeAnimation Repository](/MisterBooo/LeetCodeAnimation/hash-table-problem-solving-approaches)

Master common hash table problem-solving approaches in C++. Explore 6 reusable patterns from LeetCodeAnimation to optimize your solutions and reduce time complexity.

- Tags: tutorial
- Published: 2026-03-01

### [Dynamic Programming Patterns in LeetCodeAnimation: 6 Essential Techniques](/MisterBooo/LeetCodeAnimation/dynamic-programming-patterns-in-repository)

Master 6 essential dynamic programming patterns from LeetCodeAnimation. Learn memoization tabulation space optimization counting prefix string and interval DP techniques for LeetCode problems.

- Tags: deep-dive
- Published: 2026-03-01

### [How Linked List Edge Cases Are Handled in LeetCodeAnimation Solutions](/MisterBooo/LeetCodeAnimation/linked-list-problem-edge-case-handling)

Learn how LeetCodeAnimation solutions deftly handle linked list edge cases with null checks dummy nodes and guarded pointers to prevent errors.

- Tags: deep-dive
- Published: 2026-03-01

### [How the Sliding Window Technique Is Applied Across LeetCode Problems](/MisterBooo/LeetCodeAnimation/sliding-window-technique-across-problems)

Master the sliding window technique with this LeetCode guide. Learn how two pointers efficiently solve dynamic subarray problems in O(n) time. Expand and contract for optimal solutions.

- Tags: tutorial
- Published: 2026-03-01

### [Binary Tree Traversal in LeetCode: Inorder, Preorder, and Postorder Explained](/MisterBooo/LeetCodeAnimation/binary-tree-traversal-problems-explained)

Master binary tree traversal: inorder preorder postorder. LeetCodeAnimation explains iterative stack solutions. Solve tree problems efficiently.

- Tags: tutorial
- Published: 2026-03-01

### [How to Create Animated GIFs for Algorithm Visualizations with LeetCodeAnimation](/MisterBooo/LeetCodeAnimation/how-to-create-animated-gifs-for-algorithm-visualizations)

Easily create animated GIFs for algorithm visualizations using the LeetCodeAnimation CLI. Generate custom animations for your coding problems.

- Tags: how-to-guide
- Published: 2026-03-01

### [Programming Languages Used for the Solutions in LeetCodeAnimation: Java, C++, and Python Explained](/MisterBooo/LeetCodeAnimation/programming-languages-used-for-solutions)

Explore the programming languages Java C++ and Python used in the LeetCodeAnimation repository Understand why each language suits specific algorithmic tasks and animation tools

- Tags: getting-started
- Published: 2026-03-01

### [LeetCode Animation Contribution Guidelines and Pull Request Process](/MisterBooo/LeetCodeAnimation/contribution-guidelines-and-pull-request-process)

Contribute to LeetCode Animation! Follow simple guidelines: install Python, scaffold new problems with the CLI, implement your solution and docs, then submit a pull request via GitHub. Get started today!

- Tags: how-to-guide
- Published: 2026-03-01

### [How to Use the Anima Python Module for Creating LeetCode Solution Templates](/MisterBooo/LeetCodeAnimation/how-to-use-anima-python-module-for-solution-templates)

Learn to use the anima Python module to quickly create LeetCode solution templates. Scaffold directories with Markdown articles and placeholder media files effortlessly.

- Tags: how-to-guide
- Published: 2026-03-01

### [LeetCodeAnimation Directory Structure for Problem Submissions: Complete Guide](/MisterBooo/LeetCodeAnimation/directory-structure-for-problem-submissions)

Understand the LeetCodeAnimation directory structure for problem submissions. Explore Article/, Code/, and Animation/ folders in the MisterBooo/LeetCodeAnimation repo to access explanations, code, and visualizations.

- Tags: how-to-guide
- Published: 2026-03-01

### [How to Add a New LeetCode Problem Animation to the Repository: CLI Workflow Explained](/MisterBooo/LeetCodeAnimation/how-to-add-new-leetcode-problem-animation)

Easily add new LeetCode problem animations to MisterBooo/LeetCodeAnimation using the anima.py CLI. Generate new problem files efficiently with this quick guide.

- Tags: how-to-guide
- Published: 2026-03-01

