It is a small repository where you find the implementations of some Algorithms and Data Structures that I learned in my competitive programming journey. All of the code is written in c or c++.
- Sparse Table
- Disjoint Set Union
- Square Root Decomposition
- Binary Index Tree
- Segment Tree
- Persistent Segment Tree
- Lowest Common Ancestor
- Trie Tree
- Binary Search Tree
- Linked List
- Breadth First Search
- Depth First Search
- Topological Sort
- Articulation Point
- Bridge
- Strongly Connected Components
- Dijkstra
- Minimum Spanning Tree
- String Hashing
- Knuth–Morris–Pratt Algorithm
- Z Function Algorithm
- Rabin Karp Algorithm
- Manacher's Algorithm
- Suffix Array
- Summation of two number use string
- Coin Change
- 0/1 Knapsack
- Longest Common Subsequence
- Longest Increasing Subsequence(n^2)
- Longest Increasing Subsequence(nlogn)
- Bit Mask DP
- Minimum Vertex Cover
- Digit DP
If you want to use some of those code please see the verdict in code description. If the verdict is "Done/Complete/Ok etc" then the code is good to use but if the verdict is "Trying" then the code is not completed yet.
MIT
Free Software, Hell Yeah!