2022-11-23 03:56:25 +08:00
<p align="center">
2022-11-23 15:50:59 +08:00
<a href="https://www.hello-algo.com/">
2023-11-14 21:27:35 +08:00
<img src="https://www.hello-algo.com/index.assets/hello_algo_header.png" width="450"></a>
2022-11-23 03:56:25 +08:00
</p>
2022-11-04 19:09:51 +08:00
2023-06-18 04:39:20 +08:00
<p align="center">
2024-04-06 03:57:46 +08:00
<img style="height: 60px;" src="https://readme-typing-svg.demolab.com?font=Noto+Sans+SC&weight=400&duration=3500&pause=2000&color=21C8B8¢er=true&vCenter=true&random=false&width=200&lines=Hello%2C+%E7%AE%97%E6%B3%95+!" alt="hello-algo-typing-svg" />
2023-06-19 05:54:38 +08:00
</br>
2023-06-21 19:39:15 +08:00
动画图解、一键运行的数据结构与算法教程
2022-11-23 03:56:25 +08:00
</p>
2022-11-04 19:09:51 +08:00
2023-06-18 04:39:20 +08:00
<p align="center">
<a href="https://www.hello-algo.com/">
2026-01-02 05:09:21 +08:00
<img src="https://www.hello-algo.com/index.assets/btn_read_online_dark.svg" height="45"></a>
2023-06-18 04:39:20 +08:00
<a href="https://github.com/krahets/hello-algo/releases">
2026-01-02 05:16:24 +08:00
<img src="https://www.hello-algo.com/index.assets/btn_download_pdf_epub_dark.svg" height="45"></a>
2023-06-18 04:39:20 +08:00
</p>
2022-11-24 22:16:11 +08:00
<p align="center">
2024-04-22 02:26:32 +08:00
<img src="https://www.hello-algo.com/index.assets/animation.gif" width="395">
<img src="https://www.hello-algo.com/index.assets/running_code.gif" width="395">
2023-11-04 04:01:06 +08:00
</p>
<p align="center">
2024-04-22 02:26:32 +08:00
<img src="https://img.shields.io/badge/Python-snow?logo=python&logoColor=3776AB" alt="" />
<img src="https://img.shields.io/badge/Java-snow?logo=coffeescript&logoColor=FC4C02" alt="" />
<img src="https://img.shields.io/badge/C%2B%2B-snow?logo=c%2B%2B&logoColor=00599C" alt="" />
<img src="https://img.shields.io/badge/C-snow?logo=c&logoColor=A8B9CC" alt="" />
<img src="https://img.shields.io/badge/C%23-snow?logo=csharp&logoColor=512BD4" alt="" />
<img src="https://img.shields.io/badge/JavaScript-snow?logo=javascript&logoColor=E9CE30" alt="" />
<img src="https://img.shields.io/badge/Go-snow?logo=go&logoColor=00ADD8" alt="" />
<img src="https://img.shields.io/badge/Swift-snow?logo=swift&logoColor=F05138" alt="" />
<img src="https://img.shields.io/badge/Rust-snow?logo=rust&logoColor=000000" alt="" />
<img src="https://img.shields.io/badge/Ruby-snow?logo=ruby&logoColor=CC342D" alt="" />
<img src="https://img.shields.io/badge/Kotlin-snow?logo=kotlin&logoColor=7F52FF" alt="" />
<img src="https://img.shields.io/badge/TypeScript-snow?logo=typescript&logoColor=3178C6" alt="" />
<img src="https://img.shields.io/badge/Dart-snow?logo=dart&logoColor=0175C2" alt="" />
2024-04-06 03:57:46 +08:00
</p>
<p align="center">
简体中文
|
2024-04-06 04:05:39 +08:00
<a href="https://github.com/krahets/hello-algo/blob/main/zh-hant/README.md">繁體中文</a>
2024-04-06 03:57:46 +08:00
|
2024-04-06 04:05:39 +08:00
<a href="https://github.com/krahets/hello-algo/blob/main/en/README.md">English</a>
2025-10-17 06:04:43 +09:00
|
<a href="https://github.com/krahets/hello-algo/blob/main/ja/README.md">日本語</a>
2022-11-24 22:16:11 +08:00
</p>
2022-11-25 14:08:00 +08:00
## 关于本书
2022-11-17 02:48:17 +08:00
2023-04-10 22:05:02 +08:00
本项目旨在打造一本开源免费、新手友好的数据结构与算法入门教程。
2022-11-24 19:32:32 +08:00
2023-06-18 04:39:20 +08:00
- 全书采用动画图解,内容清晰易懂、学习曲线平滑,引导初学者探索数据结构与算法的知识地图。
- 源代码可一键运行,帮助读者在练习中提升编程技能,了解算法工作原理和数据结构底层实现。
2024-04-22 17:14:14 +08:00
- 提倡读者互助学习,欢迎大家在评论区提出问题与分享见解,在交流讨论中共同进步。
2022-11-24 19:32:32 +08:00
2023-06-14 02:01:06 +08:00
若本书对您有所帮助,请在页面右上角点个 Star :star: 支持一下,谢谢!
2022-11-17 15:32:50 +08:00
2022-12-07 22:21:43 +08:00
## 推荐语
2022-12-07 21:53:15 +08:00
> “一本通俗易懂的数据结构与算法入门书,引导读者手脑并用地学习,强烈推荐算法初学者阅读。”
>
2022-12-07 22:21:43 +08:00
> **—— 邓俊辉,清华大学计算机系教授**
2022-12-07 21:53:15 +08:00
2023-03-01 00:24:18 +08:00
> “如果我当年学数据结构与算法的时候有《Hello 算法》,学起来应该会简单 10 倍!”
>
> **—— 李沐,亚马逊资深首席科学家**
2025-09-23 20:44:38 +08:00
## 鸣谢
<p align="left">
2025-09-24 02:37:59 +08:00
<a href="https://go.warp.dev/hello-algo">
2025-09-23 20:44:38 +08:00
<img src="https://github.com/warpdotdev/brand-assets/blob/main/Github/Sponsor/Warp-Github-LG-02.png" alt="Warp-Github-LG-02" width="500"></a>
</p>
2025-09-24 02:37:59 +08:00
[Warp is built for coding with multiple AI agents. ](https://go.warp.dev/hello-algo )
2025-09-23 20:44:38 +08:00
强烈推荐 Warp 终端,高颜值 + 好用的 AI, 体验非常棒!
2023-11-02 01:08:36 +08:00
## 贡献
2022-12-07 22:47:31 +08:00
2023-11-02 01:08:36 +08:00
本开源书仍在持续更新之中,欢迎您参与本项目,一同为读者提供更优质的学习内容。
2022-12-07 22:47:31 +08:00
2023-11-02 01:08:36 +08:00
- [内容修正 ](https://www.hello-algo.com/chapter_appendix/contribution/ ):请您协助修正或在评论区指出语法错误、内容缺失、文字歧义、无效链接或代码 bug 等问题。
2023-11-04 04:59:15 +08:00
- [代码转译 ](https://github.com/krahets/hello-algo/issues/15 ):期待您贡献各种语言代码,已支持 Python、Java、C++、Go、JavaScript 等 12 门编程语言。
2024-01-02 15:14:42 +08:00
- [中译英 ](https://github.com/krahets/hello-algo/issues/914 ):诚邀您加入我们的翻译小组,成员主要来自计算机相关专业、英语专业和英文母语者。
2023-11-02 01:08:36 +08:00
欢迎您提出宝贵意见和建议,如有任何问题请提交 Issues 或微信联系 `krahets-jyd` 。
2022-11-24 22:10:14 +08:00
2022-11-25 13:01:14 +08:00
感谢本开源书的每一位撰稿人,是他们的无私奉献让这本书变得更好,他们是:
2023-02-13 16:15:43 +08:00
<p align="left">
<a href="https://github.com/krahets/hello-algo/graphs/contributors">
2024-02-25 01:44:11 +08:00
<img width="770" src="https://contrib.rocks/image?repo=krahets/hello-algo&max=300&columns=16" />
2023-02-13 16:15:43 +08:00
</a>
</p>
2022-11-24 22:10:14 +08:00
2022-11-17 15:32:50 +08:00
## License
2024-02-25 01:44:11 +08:00
The texts, code, images, photos, and videos in this repository are licensed under [CC BY-NC-SA 4.0 ](https://creativecommons.org/licenses/by-nc-sa/4.0/ ).