gonglja 86209e0a7b
feat: Add C codes for bucket sort, heap sort, selection sort, binary search edge (#525)
* fix(codes/cpp): Memory leak fix: the space was not freed when pop removed the element.

* fix(codes/cpp): Fix access error when printArray(arr, 0)

* Update PrintUtil.hpp

* fix(codes/c): Fix some errors of cmake build

* feat(codes/c): Add hashing_search.c

* styles(codes/c): Modify function description

* styles(codes/c): Modify binary_search.c code style

* fix(codes/c): Fix the problem in binary_tree_bfs.c and the problem that the memory is not released.

* feat: Add preorder_traversal_i_compact.c

* feat(codes/c): Add head_sort.c

* feat(codes/c): Add bucket_sort.c

* feat(codes/c): Add binary_search_edge.c

* fix(codes/c): Add programs that are not managed by cmake (c code)

* feat(codes/c): Add selection_sort.c

* style(codes/c): Change swap in selection_sort.c to `selectionSort`

* styles(codes/c): Change style.

* fix(codes/c): Fix some formatting errors and temporarily remove backtracking chapters

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-06-02 02:51:35 +08:00
2023-04-16 05:11:04 +08:00
2023-05-07 00:19:39 +08:00
2023-01-30 20:49:12 +08:00
2023-03-09 01:39:31 +08:00
2023-03-31 00:38:33 +08:00
2022-11-17 15:32:50 +08:00
2023-06-02 01:36:51 +08:00
2023-05-10 19:47:30 +08:00

《 Hello 算法 》

动画图解、能运行、可提问的
数据结构与算法快速入门教程


阅读网页版   |   下载 PDF 版

关于本书

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

  • 全书采用动画图解,内容清晰易懂、学习曲线平滑,引导初学者探索数据结构与算法的“知识地图”;
  • 源代码可一键运行,帮助读者在实践练习中提升编程技能,了解算法工作原理和数据结构底层实现;
  • 鼓励读者互助学习,提问与评论通常可在两日内得到回复;

若本书对您有所帮助,请点个 Star 支持一下,谢谢!

推荐语

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

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

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

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

参与写作

我们正在加速更新本书,欢迎您通过提交 Pull Request 来参与本项目,以帮助其他读者获取更优质的学习内容。

  • 若您发现语法错误、内容缺失、文字歧义、无效链接、解释不清晰等问题,请协助修正或在评论区指出;
  • 期待您参与 C++, Python, Go, JavaScript, TypeScript, C, C#, Swift, Zig, Rust, Dart 等语言的代码翻译
  • 欢迎您为本书内容提出宝贵意见和建议,如有任何问题请提交 Issues 或微信联系 krahets-jyd

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

License

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

Description
No description provided
Readme CC-BY-NC-SA-4.0 192 MiB
Languages
Other 46.8%
Java 10.7%
C++ 9.9%
Python 8.8%
Swift 6.9%
Other 16.9%