This repository contains the Python source code for the algorithms in the textbook Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.
The official Java source code is here.
Make a Python implementation of the library so that a Python programmer can learn this book easily.
Try to keep the interface and variable name consistent with the original book while not violating Python coding standards.
# pip install algs4
from algs4 import Stack
-
1 FUNDAMENTALS
-
2 SORTING
-
3 SEARCHING
-
4 GRAPHS
-
5 STRING
This code is released under MIT.
Issue reports and code fixes are welcome. please follow the same style as the code in the repository and add test for your code.