Skip to main content

A Python implementation library for book algs4

Project description

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 (WIP)

# pip install algs4

from algs4 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

algs4-1.0.0.tar.gz (30.3 kB view details)

Uploaded Source

File details

Details for the file algs4-1.0.0.tar.gz.

File metadata

  • Download URL: algs4-1.0.0.tar.gz
  • Upload date:
  • Size: 30.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

File hashes

Hashes for algs4-1.0.0.tar.gz
Algorithm Hash digest
SHA256 52ee0241208256ccbcfdc6c7ca8ebafedc006a53a436b960f38692151f0f97aa
MD5 28f9fd1bdcd518a0e4ef8f34560f8db7
BLAKE2b-256 197128beb85075500dd26e1baef5a973c7c8f8fc8f19d1f6b8d9ef9b34bb36c7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page