Skip to main content

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

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

Project Status

This project is expected to be completed by June 2021.

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-0.1.3.tar.gz (23.6 kB view details)

Uploaded Source

File details

Details for the file cpalgo-0.1.3.tar.gz.

File metadata

  • Download URL: cpalgo-0.1.3.tar.gz
  • Upload date:
  • Size: 23.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for cpalgo-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f29b6fc562350b96b1b69d445f360e9654cf051ba7737c2c52c0276066ef2e1e
MD5 d97514959cbfc50d197f7d66c32c1218
BLAKE2b-256 6d74817a55a355fd83a18bf234123b6c0ecadf18e3c756487bf99264ad18aea3

See more details on using hashes here.

Supported by

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