{"id":21698,"url":"https://github.com/roseduan/awesome-algorithm-cn","name":"awesome-algorithm-cn","description":"精选了一系列很棒的学习或者练习算法的网址、项目等，受到 awesome-awesomeness 以及其他 awesome 系列项目的启发。","projects_count":56,"last_synced_at":"2026-07-07T12:00:23.213Z","repository":{"id":51149381,"uuid":"369199397","full_name":"roseduan/awesome-algorithm-cn","owner":"roseduan","description":"精选了一系列很棒的学习或者练习算法的网址、项目等，受到 awesome-awesomeness 以及其他 awesome 系列项目的启发。","archived":false,"fork":false,"pushed_at":"2021-06-06T07:33:29.000Z","size":13,"stargazers_count":20,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-19T14:04:15.351Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roseduan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-20T12:24:20.000Z","updated_at":"2025-12-21T16:10:47.000Z","dependencies_parsed_at":"2022-09-04T18:21:36.843Z","dependency_job_id":null,"html_url":"https://github.com/roseduan/awesome-algorithm-cn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/roseduan/awesome-algorithm-cn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roseduan%2Fawesome-algorithm-cn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roseduan%2Fawesome-algorithm-cn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roseduan%2Fawesome-algorithm-cn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roseduan%2Fawesome-algorithm-cn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roseduan","download_url":"https://codeload.github.com/roseduan/awesome-algorithm-cn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roseduan%2Fawesome-algorithm-cn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35226918,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-07T02:00:07.222Z","response_time":90,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"created_at":"2024-01-13T12:56:08.418Z","updated_at":"2026-07-07T12:00:23.213Z","primary_language":null,"list_of_lists":false,"displayable":true,"categories":["在线课程","网站","书籍","备忘单","在线评审","Github 仓库"],"sub_categories":["算法和数据结构","语言无关（或多语言）","C#","C++","C"],"readme":"# awesome-algorithm-cn\n\n精选了一系列很棒的学习或者练习算法的网址、项目等，受到 [awesome-awesomeness](https://github.com/bayandin/awesome-awesomeness) 以及其他 awesome 系列项目的启发。\n\n- [awesome-algorithm-cn](#awesome-algorithm-cn)\n  - [网站](#网站)\n  - [在线课程](#在线课程)\n  - [书籍](#书籍)\n  - [备忘单](#备忘单)\n  - [Github 仓库](#Github-仓库)\n  - [在线评审](#在线评审)\n  - [工具](#工具)\n\n## 网站\n\n一些你可以用来学习经典算法的网站。\n\n* [A Visual Guide to Graph Traversal Algorithms](https://workshape.github.io/visual-graph-algorithms/) - 一个交互式可视化学习图遍历算法的网站。\n* [W3School](https://www.w3schools.in/data-structures-tutorial/intro/) - 完善的数据结构和算法的教程，相关代码很详细。\n* [Algorithm Visualizer](http://algo-visualizer.jasonpark.me/) - 数十种动画算法（带有代码），你还可以创建自己的动画算法。\n* [Algorithms Visualization](http://bost.ocks.org/mike/algorithms/) - 关于算法可视化的一些文章。\n* [Big-O Cheat Sheet](http://bigocheatsheet.com/) - 涵盖了计算机科学领域通用算法的大 O 复杂度。\n* [Code-Drills](https://code-drills.com/tools/comparator) - 算法问题推荐(包括 Codeforces, Codechef 和 Spoj 平台)。\n* [CP-Algorithms](https://cp-algorithms.com/) - 介绍在计算机领域流行的算法与数据结构的网站。\n* [Data Structure Visualizations](http://www.cs.usfca.edu/~galles/visualization/Algorithms.html) - 以动画展示你对一些数据结构的操作的网站。\n* [Geeks for Geeks](http://www.geeksforgeeks.org/fundamentals-of-algorithms/) - 包含大量解释详细并且完全实现的算法。\n* [Path Finding](https://qiao.github.io/PathFinding.js/visual/) - 可视化展示一些图论算法，比如 A，IDA，BFS 等等。\n* [Programiz](https://www.programiz.com/dsa) - 易于学习的数据结构和算法教程，配有完善的代码示例。\n* [Rosetta Code](http://rosettacode.org/wiki/Rosetta_Code) - 一个编程主题站点，旨在以不同的编程语言介绍许多算法和数据结构的实现。\n\n* [Sorting Algorithms](http://www.sorting-algorithms.com/) - 简洁易懂的排序算法动画，附有代码和评论。\n\n* [Stoimen's web log](http://www.stoimen.com/) - 包含一些解释得很棒的算法。\n* [The Sound of Sorting](http://panthema.net/2013/sound-of-sorting/) - 排序算法的声音，在听觉和视觉上感受排序算法。\n* [VisuAlgo](http://visualgo.net) - 通过动画将数据结构和算法可视化展示。\n* [Learnersbucket](https://learnersbucket.com/) - 使用 JavaScript 实现的数据结构和算法教程。\n* [redblobgames](https://www.redblobgames.com/) - 交互可视化的算法解释，使用电脑游戏当中的一些例子。\n\n## 在线课程\n\n一些免费并且高质量的在线课程。\n\n- [Algorithms: Divide and Conquer, Sorting and Searching, and Randomized Algorithms](https://www.coursera.org/learn/algorithms-divide-conquer) - 主要的内容有：大 O 渐进表示法、排序和搜索、分治思想以及随机算法。\n- [Algorithms: Graph Search, Shortest Paths, and Data Structures](https://www.coursera.org/learn/algorithms-graphs-data-structures) - 主要的内容有：数据结构，图原语及其应用。\n- [Algorithms: Greedy Algorithms, Minimum Spanning Trees, and Dynamic Programming](https://www.coursera.org/learn/algorithms-greedy) - 主要的内容：贪心算法和动态规划。\n- [Algorithms: Shortest Paths Revisited, NP-Complete Problems and What To Do About Them](https://www.coursera.org/learn/algorithms-npcomplete) - 主要的内容：最短路径，NP 完备性和它对算法设计者的意义，以及处理计算棘手问题的策略。\n- [Algorithms, Part I](https://www.coursera.org/learn/algorithms-part1/home/welcome) - 本课程涵盖了每个程序员需要知道的算法和数据结构的基本信息。第一部分介绍基本的数据结构、排序和搜索算法。\n- [Algorithms, Part II](https://www.coursera.org/learn/algorithms-part2) - 第二部分重点介绍图和字符串处理算法。\n- [Khan Academy Algorithms](https://www.khanacademy.org/computing/computer-science/algorithms) - 由 Tomas Cormen 和 Devin Balkcom 主持的算法课程。\n- [MIT - 6-006](http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-006-introduction-to-algorithms-fall-2011/lecture-videos/) - 解释得很好的算法。\n- [MIT - 6-046j](http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-046j-introduction-to-algorithms-sma-5503-fall-2005/video-lectures/) - 类似于前一个，只不过是不同的算法。\n- [MIT - 6-00sc](http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00sc-introduction-to-computer-science-and-programming-spring-2011/index.htm) - 这是一个简单而又解释得很好的算法介绍。\n- [Udacity Intro to Algorithms](https://www.udacity.com/course/intro-to-algorithms--cs215) - 基于 Python 的算法课程。\n- [Algorithms in Motion](https://www.manning.com/livevideo/algorithms-in-motion) - 这是一门面向算法初学者，使用了大量有趣的插图，基于书籍《Grokking Algorithms》的算法课程。\n\n## 书籍\n\n学习算法的一些常见书籍。\n\n### 算法和数据结构\n\n#### 英文\n\n* [Algorithm Design](https://www.pearsonhighered.com/program/Kleinberg-Algorithm-Design/PGM319216.html) - 非常简洁直白的算法分析书籍。\n* [Algorithms](http://algs4.cs.princeton.edu/home/) - 使用 Java 实现的算法示例，良好的实践，可视化教程，带有免费的在线资源。\n* [Algorithms and Data Structures in JavaScript](https://gum.co/dsajs) - 经典的算法和数据结构，由 JavaScript 实现。\n* [Algorithms in a Nutshell](https://www.amazon.com/Algorithms-Nutshell-In-OReilly/dp/059651624X) - 由 George T. Heineman 撰写。\n\n#### 中文\n\n* [算法·第四版](https://book.douban.com/subject/19952400/) - 算法领域的经典书籍，涵盖每位程序员应知应会的 50 种算法。\n* [算法导论](https://book.douban.com/subject/20432061/) - 经典算法书籍，内容丰富、结构合理、逻辑清晰。\n* [大话数据结构](https://book.douban.com/subject/6424904/) - 以趣味的方式叙述数据结构，并引用了各种生活知识来类比。\n* [啊哈！算法](https://book.douban.com/subject/25894685/) - 一本充满智慧和趣味的算法入门书。\n* [算法图解](https://book.douban.com/subject/26979890/) - 示例丰富，图文并茂，以让人容易理解的方式阐释了算法。\n\n## 备忘单\n\n* [The Technical Interview Cheat Sheet](https://gist.github.com/TSiege/cbb0507082bb18ff7e4b)\n* [Princeton DS Cheat Sheet](https://algs4.cs.princeton.edu/cheatsheet/)\n* [CLRS in short](https://sinon.org/algorithms//#data-structures)\n* [Rice university DS course in short](https://www.clear.rice.edu/comp160/data1.html)\n* [Useful Reddit thread](https://www.reddit.com/r/learnprogramming/comments/3gpvyx/algorithms_and_data_structures_cheat_sheets/)\n* [Algo Deck](https://github.com/teivah/algodeck/)\n\n## Github 仓库\n\n一些使用各种编程语言实现算法的仓库。\n\n### C\n\n* [c-algorithms](https://github.com/fragglet/c-algorithms) by @fragglet，一些使用 C 语言实现的常用数据结构及算法。\n* [TheAlgorithms/C](https://github.com/TheAlgorithms/C) by @TheAlgorithms，The Algorithms 系列的 C 语言实现。\n\n### C++\n\n* [xtaci/algorithms](https://github.com/xtaci/algorithms) by @xtaci，使用 C++ 实现的数据结构和算法。\n* [PetarV-/Algorithms](https://github.com/PetarV-/Algorithms) by @PetarV-，包含一些高级数据结构和算法。\n* [ProAlgos-Cpp](https://github.com/ProAlgos/ProAlgos-Cpp) by @ProAlogs，C++ 实现的一些知名的算法。\n* [algorithmica-org/implementations](https://github.com/algorithmica-org/implementations) by @algorithmica-org，一些算法的简洁实现。\n\n### C#\n\n* [classic-algorithms-c-sharp](https://github.com/shkolovy/classic-algorithms-c-sharp) by @shkolovy，使用 C# 实现的经典算法。\n* [C-Sharp-Algorithms](https://github.com/aalhour/C-Sharp-Algorithms) by @aalhour，标准的数据结构和算法。\n* [Advanced-Algorithms](https://github.com/justcoding121/Advanced-Algorithms) by @justcoding121，100+ 数据结构和算法的例子。\n\n### Erlang\n\n\n\n### Go\n\n\n\n### Java\n\n\n\n### JavaScript\n\n\n\n### Lua\n\n\n\n### Objective-C\n\n\n\n### Python\n\n\n\n### Ruby\n\n\n\n### Scala\n\n\n\n### Swift\n\n\n\n### 语言无关（或多语言）\n\n\n\n## 在线评审\n\n可以从这些网站中练习你学习到的相关知识。\n\n- [A2 Online Judge](https://a2oj.com/) - Online Judge and problem archive.\n- [ACM-ICPC Live Archive](https://icpcarchive.ecs.baylor.edu/) - Hundreds of problems from previous ACM-ICPC Regionals and World Finals.\n\n## 工具\n\n","projects_url":"https://awesome.ecosyste.ms/api/v1/lists/roseduan%2Fawesome-algorithm-cn/projects"}