C++ code library contains useful algorithms for competitive programming.
DSA
│ .gitignore
│ README.md
│
├───docs
│ cp-book.pdf
│
└───src
├───data-structures
│ ├───disjoint-set-union
│ │ disjoint-set-union.cpp
│ │
│ ├───segment_tree
│ │ persistent_segment_tree.cpp
│ │ segment_tree_dynamic.cpp
│ │ segment_tree_multiset.cpp
│ │ segment_tree_static.cpp
│ │
│ └───sparse_table
│ example.cpp
│ example.exe
│ README.md
│ sparse_table.cpp
│
├───graphs
│ └───lowest_common_ancestor
│ LCA.cpp
│ LCA_Euler.cpp
│
├───math
│ math.cpp
│
├───others
│ others.cpp
│
├───search
│ binary_search.cpp
│
└───strings
└───KMP
KMP.cpp