Skip to main content

A python library that contains standard competitive programming algorithms for faster access

Project description

cpalgo

The library is active since July 30, 2021.

Installation

Use the package manager pip to install foobar.

pip install cpalgo

Developers

Narayanaa S R

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

BSD

Templates to be covered in cpalgo

Algebra Binary Exponentitation
EGCD
Linear Diophantine Equations
Linear Sieves

Query based Optimisation Sparse Table
RMQ
Square Root Decomposition
Heavy Light Decomposition
RMQ - Euler Tour

Graph Optimisation Articulation
DSU - Kruskal
Tarjan off-line
Fold Fulkerson - Max Flow
Dinic - Max Flow
Condensation Graph
Fenwick Tree
Segment Tree

Computational Geometry Convex Hull - Graham's scan
Convex Hull - Andrew Monotone
S&I NlogN
Lattice Points - Pick's algorithm

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

cpalgo-1.1.4.tar.gz (24.4 kB view hashes)

Uploaded Source

Built Distribution

cpalgo-1.1.4-py3-none-any.whl (17.4 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