A python library that contains standard competitive programming algorithms for faster access
Project description
cpalgo
cpalgo is a Python Library that contains over 100 standard competitive programming algorithms for faster access.
Installation
Use the package manager pip to install foobar.
pip install cpalgo
Usage
import cpalgo
string1 = 'algorithms'
string2 = 'rhythms'
#To find the longest common subsequence between two strings
cpalgo.longest_common_subsequence(string1, string2)
#To count the number of prime numbers in [1,N]
cpalgo.count_primes(234)
Developers
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
Project Status
This project is expected to be completed by June 2021.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cpalgo-0.1.3.tar.gz
(23.6 kB
view hashes)