hello-algo

《Hello 算法》:动画图解、一键运行的数据结构与算法教程。支持简中、繁中、English、日本語,提供 Python, Java, C++, C, C#, JS, Go, Swift, Rust, Ruby, Kotlin, TS, Dart 等代码实现

19 articles 122k View on GitHub ↗
19 articles
Tree Traversal Methods: Preorder, Inorder, Postorder, and Level Order Explained

Understand preorder inorder postorder and level order tree traversal methods. Learn the unique sequence and use cases for each from serialization to sorted retrieval.

deep-dive
Feb 25, 2026
How Hello-Algo Validates Algorithm Code Examples Across Programming Languages

Discover how Hello-Algo validates algorithm code examples across multiple programming languages using automated tests and GitHub Actions for cross-platform correctness on Ubuntu macOS and Windows.

deep-dive
Feb 25, 2026
Binary Search Algorithm Operations vs Binary Search Tree Operations: Key Differences Explained

Understand the key differences between binary search algorithm operations and binary search tree operations. Discover how stateless lookups contrast with stateful node pointer manipulation.

deep-dive
Feb 25, 2026
How to Report Bugs or Contribute Corrections to the hello-algo Documentation

Learn how to report bugs or contribute corrections to the hello-algo documentation. Follow our simple guide to submitting GitHub issues or pull requests for content updates.

how-to-guide
Feb 25, 2026
CC BY-NC-SA 4.0 License Terms for hello-algo: Usage Rights and Compliance Guide

Understand CC BY-NC-SA 4.0 license terms for hello-algo. Learn about usage rights, attribution, non-commercial use, and share-alike compliance for the code and content.

api-reference
Feb 25, 2026
How Animation Diagrams Are Rendered in MkDocs Material: Inside the Hello-Algo Documentation Pipeline

Discover how Hello-Algo renders animated diagrams using static GIFs and custom CSS with MkDocs Material. Learn about seamless integration and no JavaScript requirements for enhanced documentation.

internals
Feb 25, 2026
Key Differences Between Chinese and English Versions in Hello Algo

Discover key differences between Chinese and English Hello Algo versions. Understand variations in language, comments, and terminology while algorithms remain the same.

tutorial
Feb 25, 2026
MkDocs Configuration for Building a Multilingual Documentation Website

Learn MkDocs configuration for multilingual websites. Hello-Algo uses MkDocs-Material inheritance to manage multiple languages efficiently. Streamline your docs today.

tutorial
Feb 25, 2026
How Language-Specific Code Implementations Are Organized in the Hello-Algo Codes Directory

Explore the hello-algo codes directory organization: a locale language module hierarchy for parallel algorithm implementations across Python Java C++ TypeScript Swift and Zig.

internals
Feb 25, 2026
Space Complexity Comparison: Recursive vs Iterative Implementations in Hello-Algo

Compare space complexity of recursive vs iterative algorithms. See how hello algo stacks up with O(n) call stack vs O(1) auxiliary space.

performance
Feb 25, 2026
How the Preorder Traversal Template Works for Backtracking Problems in Hello-Algo

Explore the preorder traversal template in Hello-Algo for backtracking. Learn how it combines DFS and state management to efficiently solve problems.

deep-dive
Feb 25, 2026
Bounded vs Unbounded Knapsack in Dynamic Programming: Key Differences and Implementation

Master bounded 0-1 vs unbounded knapsack dynamic programming. Understand key differences in item multiplicity and DP transitions for efficient problem-solving.

tutorial
Feb 25, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →