Codes of Data Structures
, Algorithms
and Some freqently used basic code
which i am using in competitive programming. I implemented most of them but some of them are collected.
- Data Structure :
- Fundamentals :
- Binary Indexed Tree (BIT) :
- Sgement tree :
- Other Trees :
- Graphs :
- Graph traversal :
- Single-source shortest paths :
- All pair shortest paths :
- Connected components, bridges, articulations points :
- minimum spannig tree :
- Trees :
- Miscellaneous :
- Dynamic Programming :
- Recursive :
- Maxflow/Matching
- String Processing :
- Fundamentals :
- Back Tracking :
- Big Interger :
- Computetional Geometry :
- Covex Hull :
- Binary Exponentiation :
- Combinatorics :
- Number Theory Algorithms :
- Sieves :
- Primality Check :
- Prime factorization :
- Number-theoretic functions :
- Miscellaneous :
- Sorting Algorithms :
- Miscellaneous :