Skip to content

Latest commit

 

History

History
107 lines (84 loc) · 3.07 KB

README.md

File metadata and controls

107 lines (84 loc) · 3.07 KB

PyPI version

Overview

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.

Goals

Make a Python implementation of the library so that a Python programmer can follow this book easily or prefer to demonstrate the algorithms using Python.

Try to keep the interface and variable name consistent with the original book while writing idiomatic Python code.

Install

pip install algs4
from algs4.stack import Stack

Index

License

This code is released under MIT.

Contribute to this repository

Issue reports and code fixes are welcome. please follow the same style as the code in the repository and add test for your code.

contributing guide