hello-algo README

The project's README from github.com/krahets/hello-algo. As one markdown file: README.md.

hello-algo-typing-svg
动画图解、一键运行的数据结构与算法教程

简体中文 | 繁體中文 | English | 日本語 | Русский

关于本书

本项目旨在打造一本开源免费、新手友好的数据结构与算法入门教程。

若本书对您有所帮助,请在页面右上角点个 Star :star: 支持一下,谢谢!

推荐语

“一本通俗易懂的数据结构与算法入门书,引导读者手脑并用地学习,强烈推荐算法初学者阅读。”

—— 邓俊辉,清华大学计算机系教授

“如果我当年学数据结构与算法的时候有《Hello 算法》,学起来应该会简单 10 倍!”

—— 李沐,亚马逊资深首席科学家

贡献

本开源书仍在持续更新之中,欢迎您参与本项目,一同为读者提供更优质的学习内容。

欢迎您提出宝贵意见和建议,如有任何问题请提交 Issues 或微信联系 krahets-jyd 。

感谢本开源书的每一位撰稿人,是他们的无私奉献让这本书变得更好,他们是:

License

The texts, code, images, photos, and videos in this repository are licensed under CC BY-NC-SA 4.0.

hello-algo (krahets/hello-algo)

dsa
Searching Database…

130.8K ·GitHub
What is this?Hello Algo is a free, open-source illustrated book that teaches data structures and algorithms from scratch using animated diagrams and one-click runnable code.
Is this a coding library or a book to read?It is a tutorial book (readable online or via this repo), not a software library — the code snippets are worked examples you run to understand each algorithm, not a package you import into a project.
How do I start reading and running the examples?Work through the chapters in order starting from the basics; each chapter's source code is 'one-click runnable' so you can execute it directly to see how the data structure or algorithm behaves.
Which programming languages can I follow the code in?Code implementations are provided in 12+ languages including Python, Java, C++, C, C#, JavaScript, Go, Swift, Rust, Ruby, Kotlin, TypeScript and Dart.
Can I use this book commercially or redistribute it freely?No — the content is under CC BY-NC-SA 4.0, meaning it is free for personal learning but commercial use and relicensing are not permitted.
Is this aimed at absolute beginners or experienced engineers?It's explicitly designed for newcomers, with a gentle learning curve meant to guide beginners through the data-structures-and-algorithms knowledge map.
What written languages is the book itself available in, besides the code?Beyond Simplified Chinese, the book text is also available in Traditional Chinese, English and Japanese.
Who has endorsed this book?It's praised by Tsinghua professor Deng Junhui and Amazon chief scientist Li Mu, who said it would have made learning data structures and algorithms ten times easier for him.
Can I read and run it fully offline?Yes — since it's a plain Git repository with runnable source files per language, you can clone it and work through every chapter and code sample without an internet connection.
Creator
krahets
Size
471 MB
Stars
130.8K
Age
3y
Commits · 90 Days