awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
walkccc avatar

walkccc/CLRS

0
View on GitHub↗
5,060 星标·1,284 分支·Markdown·mit·7 次浏览walkccc.me/CLRS↗

CLRS

This repository is a comprehensive collection of fully worked solutions to exercises and problems from the standard algorithms textbook by Cormen, Leiserson, Rivest, and Stein (CLRS). It serves as an educational reference for algorithm design and analysis, providing step-by-step reasoning, pseudocode, and mathematical proofs for a wide range of topics.

The content spans core computer science areas: algorithm analysis with asymptotic notation, recurrence solving, and amortized cost analysis; data structure implementation and operations for binary search trees, red-black trees, B-trees, Fibonacci heaps, hash tables, and more; graph algorithms covering traversal, shortest paths, minimum spanning trees, connectivity, and topological sorting; dynamic programming and greedy approaches for optimization problems; plus sorting, order statistics, and string/sequence algorithms.

The site is built as a static website using Markdown-driven content with KaTeX-rendered mathematical notation, organized via file-based routing for easy browsing of solutions by chapter and exercise.

Features

  • Textbook Exercise Solutions - Providing fully worked solutions to exercises and problems from the CLRS algorithms textbook with step-by-step reasoning and pseudocode.
  • Exercise Solutions - Provides fully worked solutions to CLRS textbook exercises and problems with KaTeX notation.
  • Worked Solutions - A collection of fully worked solutions to exercises and problems from the standard algorithms textbook by Cormen, Leiserson, Rivest, and Stein.
  • Hash Tables - Covers direct-address dictionaries and amortized analysis of dynamic table expansion and contraction.
  • B-Tree - Provides search, insertion, deletion, and predecessor operations in B-trees while preserving balance.
  • Amortized Cost Analyses - Demonstrates amortized analysis using aggregate analysis and accounting method to bound operation costs.
  • Algorithm and Data Structure Guides - A reference that provides detailed answers and derivations for topics like sorting, graph algorithms, dynamic programming, and advanced data structures.
  • Dynamic Programming - Contains a wide range of DP solutions including knapsack, activity selection, and rod cutting.
  • Graph Traversal Algorithms - Covers BFS and DFS implementations with timing, edge classification, and bipartiteness detection.
  • Algorithm Implementations - Provides pseudocode implementations and step-by-step execution traces of fundamental algorithms.
  • Red-Black Trees - Covers join, amortized cost, properties, and deletion fixup for red-black trees.
  • Algorithm Analysis - Analyzing graph algorithms such as BFS, DFS, shortest paths, minimum spanning trees, and network flow with proofs of correctness and complexity.
  • Greedy Algorithms - Covers optimal prefix codes, activity selection, matroid scheduling, and coin change with optimality proofs.
  • Dynamic Programming Strategies - Solving optimization problems with dynamic programming or greedy strategies, including proofs of optimal substructure and exchange arguments.
  • Stack and Queue Algorithms - Provides overflow/underflow detection, double-ended array implementation, two stacks in one array, and simulation of queue with two stacks and stack with two queues.
  • Computer Science Education - An educational resource that helps students and professionals understand algorithm design and analysis through clear, annotated solutions.
  • Recurrence Relation Solving - Solves recurrence relations using master theorem, recursion tree, and substitution method.
  • Binary Search Trees - Covers insertion, search, deletion, traversal, rotation, property analysis, and counting of binary search trees.
  • Educational Implementations - Implementing and analyzing fundamental data structures including binary search trees, red-black trees, heaps, hash tables, and B-trees.
  • Algorithm Analysis - Compares asymptotic running times and analyzes modifications to determine efficiency changes.
  • Asymptotic Notations - Verifies properties and compares growth rates of big-O, theta, and omega notations using proofs.
  • Correctness Proofs - Provides formal proofs of algorithm correctness using invariants and induction.
  • Minimum Spanning Tree Algorithms - Covers MST algorithms including bottleneck spanning tree, preprocessing, and correctness verification.
  • Shortest Path Algorithms - Provides Bellman-Ford, DAG longest path, all-pairs shortest paths, and mean-weight cycle algorithms.
  • Fibonacci - Covers decrease-key, pruning operations, and amortized cost analysis for Fibonacci heaps.
  • String and Sequence Algorithm Solutions - Provides DP-based solutions for edit distance, longest common subsequence, longest increasing subsequence, optimal string break points, and paragraph line breaking.
  • Free-List Allocators - Implements allocation and deallocation of array objects from a stack-like free list for reuse.
  • Dynamic Data Structures - Covers minimum gap maintenance in dynamic sets, node depth tracking, and insertion into sorted arrays.
  • AVL Tree Operations - Maintains height balance in a BST after insertions by performing single rotations to keep subtree heights within one.
  • Stable Sorting Preservations - Augments a non-stable sort with original indices to preserve relative order of equal elements.
  • Probabilistic Analyses - Applies probabilistic methods to analyze randomized algorithms such as random permutations and chip testing.
  • Order Statistics - Augments balanced BSTs with subtree sizes to support rank queries, order-statistic selection, and range enumeration.
  • Interval Tree Operations - Provides detection, search for exact and open intervals, enumeration of overlapping intervals, and maintenance of max attribute during rotations.
  • Linked List Manipulation Utilities - Compares asymptotic running times for operations on singly, doubly, and circular linked lists and implements in-place compaction.
  • Sorting Algorithm Variants - Analyzes and implements variations of sorting algorithms including hybrid sort thresholds, three-way partitioning, insertion sort in descending order, and specific constraints.

Star 历史

walkccc/clrs 的 Star 历史图表walkccc/clrs 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

walkccc/clrs 是做什么的?

This repository is a comprehensive collection of fully worked solutions to exercises and problems from the standard algorithms textbook by Cormen, Leiserson, Rivest, and Stein (CLRS). It serves as an educational reference for algorithm design and analysis, providing step-by-step reasoning, pseudocode, and mathematical proofs for a wide range of topics.

walkccc/clrs 的主要功能有哪些?

walkccc/clrs 的主要功能包括:Textbook Exercise Solutions, Exercise Solutions, Worked Solutions, Hash Tables, B-Tree, Amortized Cost Analyses, Algorithm and Data Structure Guides, Dynamic Programming。

walkccc/clrs 有哪些开源替代品?

walkccc/clrs 的开源替代品包括: kodecocodes/swift-algorithm-club — This project is a comprehensive collection of common computer science algorithms and data structures implemented in… xtaci/algorithms — This is a collection of classical algorithms and data structures implemented as a header-only C++ library. It provides… kevin-wayne/algs4 — algs4 is a Java data structures library and algorithm reference collection designed as the source code for a standard… oi-wiki/oi-wiki — This project is a comprehensive, community-maintained knowledge base and toolkit designed for competitive programming.… chefyuan/algorithm-base — algorithm-base is an educational library and study guide designed for simulating algorithms and studying data… gzc/clrs — CLRS is an algorithm implementation library and reference providing code solutions for the classic computer science…

CLRS 的开源替代方案

相似的开源项目,按与 CLRS 的功能重合度排序。
  • kodecocodes/swift-algorithm-clubkodecocodes 的头像

    kodecocodes/swift-algorithm-club

    29,099在 GitHub 上查看↗

    This project is a comprehensive collection of common computer science algorithms and data structures implemented in Swift. It serves as an educational reference and library for studying computational complexity, algorithmic logic, and data structure engineering through practical code examples. The repository provides a wide suite of data structure implementations, including various types of linked lists, heaps, hash tables, and an extensive range of hierarchical trees such as Red-Black, B-Tree, and Splay trees. It also covers diverse sorting and searching techniques, from basic bubble sort to

    Swiftalgorithmsdata-structuresswift
    在 GitHub 上查看↗29,099
  • xtaci/algorithmsxtaci 的头像

    xtaci/algorithms

    5,454在 GitHub 上查看↗

    This is a collection of classical algorithms and data structures implemented as a header-only C++ library. It provides a suite of tools for general algorithm implementation, including data structure management, graph theory analysis, and string processing. The library is distinguished by its specialized toolkits for cryptographic hashing and encoding, featuring implementations of MD5, SHA-1, and Base64. It also includes advanced capabilities for high-performance string processing via suffix trees and arrays, as well as computational number theory for primality testing and arbitrary-precision

    C++
    在 GitHub 上查看↗5,454
  • kevin-wayne/algs4kevin-wayne 的头像

    kevin-wayne/algs4

    7,519在 GitHub 上查看↗

    algs4 is a Java data structures library and algorithm reference collection designed as the source code for a standard computer science textbook curriculum. It provides a comprehensive suite of fundamental implementations for sorting, searching, and core data organization. The project serves as a graph theory framework, offering tools for representing directed and undirected graphs and performing complex traversals and pathfinding. It also includes a broad sorting algorithm suite and a specialized library of Java data structures, including stacks, queues, priority queues, and symbol tables. I

    Java
    在 GitHub 上查看↗7,519
  • oi-wiki/oi-wikiOI-wiki 的头像

    OI-wiki/OI-wiki

    26,176在 GitHub 上查看↗

    This project is a comprehensive, community-maintained knowledge base and toolkit designed for competitive programming. It serves as a centralized repository for algorithmic theory, data structures, and mathematical techniques, providing a structured reference for informatics and collegiate programming competitions. The project distinguishes itself by integrating educational content with a robust suite of automation utilities. It provides a complete workflow for competitive programming, including tools for automated test case generation, solution verification, and direct interaction with onlin

    TypeScriptacm-icpcacm-icpc-handbookalgorithms
    在 GitHub 上查看↗26,176
查看 CLRS 的所有 30 个替代方案→