Skip to main content

A pedagogical algorithms and data structures library

Project description

This library aims to provide simple, readable and documented implementations of commonly taught data structures and algorithms (DSA). It was created for M269, our DSA course, but we hope it's of use by other courses.

The current version implements

  • bags (multisets), with a Python dictionary
  • queues, with Python lists and linked lists
  • stacks, Python lists and linked lists.

The library uses a small subset of Python's language and standard library, to make it easier to understand.

All modules, classes and methods have docstrings. All classes have usage examples. All methods indicate their worst-case complexity.

For installation and usage instructions, see the documentation.

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

m269_lib-0.0.2.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

m269_lib-0.0.2-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

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