cpcodes
v1.3.2
Published
A Utility library for competitive coding
Downloads
2
Readme
CPCodes
A NPM utility library for CP
Algotihm List
- Disjoint-Set-Union
- Knuth–Morris–Pratt
- Random Sampling
- Next Smaller Element in Left
- LCA using DSU
- Edmonds-Karp(Network-Flow)
- Binary Search
- Ternary Search
- Manacher
- Rabin-Karp
- Kruksal(SPT)
- Arpa's Trick(Fast queries using DSU)
- Next Greater Element in Right
- Depth First Search
- Breadth First Search
- Bellman Ford
- Dijikstra's
- Prefix-Suffix Array
- Next Smaller Element in Right
- Kanade's Algorithm(Max Subarray Sum)
- Quick Sort
- Bubble Sort
- Selection Sort
- Insertion Sort
- Merge Sort
- Heap
- Heap Sort
- Binary Search Tree
- Next Greater Element in Left
- Reservoir Sampling
- Aho Corasick Pattern Search
- Flood Fill
- ...more to come
Blog
https://progwithme.blogspot.com/
Getting started
- Fork the repository.
- Clone it to your machine.
Code of Conduct
We really appreciate the keen interest and the overall work culture we create by working together as a team with various unique experiences and minds culminated into a single project. This is only possible if we respect each other.
Kindly go through our Code of Conduct to take a moment and familiarise with the spirit of opensource.
Contributing Guide
PR rules:
- Kindly follow the Pull Request template provided.
For more details kindly go through our Contributing Guidelines.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!