This website contains nearly complete solutions to the bible textbook - Introduction to Algorithms Third Edition published by Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest and Clifford Stein.
Hope to reorganize solutions to help more people and myself study algorithms. By using Markdown (.md) files, it's much more readable on portable devices now.
"Many a little makes a mickle."
Thanks to:
- The authors of CLRS Solutions: Michelle Bodnar who writes the even numbered problems and Andrew Lohr who writes the odd numbered problems.
- @skanev, @CyberZHG, @yinyanghu, etc.
Special thanks to @JeffreyCA, who fixed math rendering on iOS Safari in #26.
If I miss your name here, please tell me!
I and my friend Tony Xiao are currently working on removed problems!
Unfortunately, due to the copyright issue and some problems of unauthorized content, I removed the improper part which you can see that some solutions are now marked "(removed)".
After being noticed by the copyright issue, I have contacted one of the author of CLRS Solutions, Michelle Bodnar, and asked about the right to use their solutions. She said it is ok and I should credit for each problem I use.
What I want to mention here is that the emergence of this website, from the very beginning, is very simple. I want to provide a website that is easy to read on mobile devices, to help everyone learning algorithms.
Therefore, please don't hesitate to give me your feedback if any adjustment is needed with the sorted solutions or you have the same motivation and want to contribute for this work. You can simply press the "pencil icon" in the upper right corner to edit the content or open an issue in my repository. Your solution will be rebased on this repository after I review and make some form modification on your pull request.
Thank you very much, and I hope that everyone will learn algorithms smoothly!
I use the static site generator MkDocs and the beautiful theme Material for MkDocs to build this website!
Since KaTeX is now supporting more functions and is much faster than MathJax, I've updated all math equations from MathJax to KaTeX.
I also add overflow-x: auto
to prevent the overflow issue on small screen devices, so you can scroll horizontally in the math display equations.
For more informations please visit my GitHub.
Updated to this new page on April 13, 2018 at 04:48 (GMT+8).
Revised on July 21, 2019.
Licensed under the MIT License.