Lightweight, efficient and generalized C++ header-only template library for data structures and algorithms .
This library is dedicated towards data structures and algorithms that are useful in competitive programming .
- Clone the repository (and star it if you like it)
- include header files of the data structures and algorithms you need to use in your code using
#include "path/to/required/header/files"
- path of header file in include "header_file" should be relative to _path/to/cloned/ds-and-algos/repo/include
- Include
-Ipath/to/cloned/ds-and-algos/repo/include
flag while compiling files, for instance,g++ hello-world.cpp -Ipath/to/cloned/ds-and-algos/repo/include
- That's it .
name | examples | good resources to study |
---|---|---|
Euler tour | example-1 | gfg cf-blog |
Tree | example-1 example-2 | gfg |
Lowest common ancestor | example-1 | gfg cf-blog |
name | examples | good resources to study |
---|---|---|
Longest increasing subsequence | example-1 example-2 | gfg cp-algorithms |
This project is licensed under the MIT License. See the license here