Templates, algorithms and data structures implemented and collected for programming contests.
- Start Template
- Debug Template
- Binary Exponentiation
- Mint
- Harmonic Number
- GCD and LCM
- Divisors
- Divisors Upto N
- Prefix Sum
- Prefix Sum 2D
- Prefix Sum 3D
- Prefix Xor
- Difference Array
- Bitwise Operations
- Bitmask
- Binary Search
- Ternary Search
- Random Generator
- Iterators
- Pair
- Tuple
- Stack
- Queue
- Priority Queue
- Array
- Vector
- Deque
- String
- Forward List
- List
- Bitset
- Vector Bool
- Set
- Multiset
- Map
- Multimap
- Minimum Stack
- Minimum Queue
- DSU
- Sparse Table
- Fenwick Tree
- Fenwick Tree with Range Update & Range Query
- Segment Tree
- Segment Tree Lazy
- Trie on Strings
- Trie on Bits
- Treap
- Ordered Set