├── 2D Segment Tree.cpp ├── 2SAT.cpp ├── AhoCorasick.cpp ├── ArticulationPointAndBridge.cpp ├── Barleykamp-Massey + Cayley Hamlnton.cpp ├── Binary Indexed Tree.cpp ├── BridgeTree.cpp ├── Cactus.cpp ├── Centroid Decompostion.cpp ├── Centroid Tree.cpp ├── Closest Pair of Points O(n lg^2 n).cpp ├── ConvexHull.cpp ├── ConvexHullTrick (Dynamic Online).cpp ├── ConvexHullTrick.cpp ├── DSU.cpp ├── Dinic.cpp ├── Discrete Log.cpp ├── Dominator Tree.cpp ├── EdmondKarp.cpp ├── FFT Applications.cpp ├── Fast Fourier Transform.cpp ├── Fast Input.cpp ├── Fast Walsh Hadamard Trandform.cpp ├── Gaussian Elimination.cpp ├── HLD.cpp ├── Hash.cpp ├── Hopcroft Karp.cpp ├── INF Knight.cpp ├── KMP.cpp ├── LCA.cpp ├── Lazy Array.cpp ├── LongestPathInDAG.cpp ├── MO'a algo with Updates.cpp ├── MO's Algo.cpp ├── Manacher.cpp ├── Manhattan MST.cpp ├── MatrixExpo.cpp ├── Max BPM.cpp ├── Max XOR Subset.cpp ├── Mex using Trie O(log Max).cpp ├── Millar-Rabin Primality Test.cpp ├── MinCostMaxFlow.cpp ├── Minimum Expression.cpp ├── Misc Geometry.cpp ├── Number Theoretic Transform.cpp ├── Number Theory for Copy Paste.cpp ├── PalindromicTree.cpp ├── Persistent Segment Tree.cpp ├── Persistent Trie.cpp ├── PolardRho.cpp ├── README.md ├── Segment Tree (Lazy Prop).cpp ├── Segment Tree.cpp ├── Simpson.cpp ├── Stoer-Wagner.cpp ├── Strongly Connected Components.cpp ├── Suffix Array.cpp ├── Suffix Automata.cpp ├── Treap (Basic Operations).cpp ├── Treap (Implict).cpp ├── Z-Algorithm.cpp ├── maxHistrogram.cpp ├── nCr mod M.cpp ├── nextGreaterElement.cpp └── slidingRMQ.cpp /2D Segment Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/2D Segment Tree.cpp -------------------------------------------------------------------------------- /2SAT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/2SAT.cpp -------------------------------------------------------------------------------- /AhoCorasick.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/AhoCorasick.cpp -------------------------------------------------------------------------------- /ArticulationPointAndBridge.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/ArticulationPointAndBridge.cpp -------------------------------------------------------------------------------- /Barleykamp-Massey + Cayley Hamlnton.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Barleykamp-Massey + Cayley Hamlnton.cpp -------------------------------------------------------------------------------- /Binary Indexed Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Binary Indexed Tree.cpp -------------------------------------------------------------------------------- /BridgeTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/BridgeTree.cpp -------------------------------------------------------------------------------- /Cactus.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Cactus.cpp -------------------------------------------------------------------------------- /Centroid Decompostion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Centroid Decompostion.cpp -------------------------------------------------------------------------------- /Centroid Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Centroid Tree.cpp -------------------------------------------------------------------------------- /Closest Pair of Points O(n lg^2 n).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Closest Pair of Points O(n lg^2 n).cpp -------------------------------------------------------------------------------- /ConvexHull.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/ConvexHull.cpp -------------------------------------------------------------------------------- /ConvexHullTrick (Dynamic Online).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/ConvexHullTrick (Dynamic Online).cpp -------------------------------------------------------------------------------- /ConvexHullTrick.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/ConvexHullTrick.cpp -------------------------------------------------------------------------------- /DSU.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/DSU.cpp -------------------------------------------------------------------------------- /Dinic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Dinic.cpp -------------------------------------------------------------------------------- /Discrete Log.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Discrete Log.cpp -------------------------------------------------------------------------------- /Dominator Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Dominator Tree.cpp -------------------------------------------------------------------------------- /EdmondKarp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/EdmondKarp.cpp -------------------------------------------------------------------------------- /FFT Applications.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/FFT Applications.cpp -------------------------------------------------------------------------------- /Fast Fourier Transform.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Fast Fourier Transform.cpp -------------------------------------------------------------------------------- /Fast Input.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Fast Input.cpp -------------------------------------------------------------------------------- /Fast Walsh Hadamard Trandform.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Fast Walsh Hadamard Trandform.cpp -------------------------------------------------------------------------------- /Gaussian Elimination.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Gaussian Elimination.cpp -------------------------------------------------------------------------------- /HLD.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/HLD.cpp -------------------------------------------------------------------------------- /Hash.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Hash.cpp -------------------------------------------------------------------------------- /Hopcroft Karp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Hopcroft Karp.cpp -------------------------------------------------------------------------------- /INF Knight.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/INF Knight.cpp -------------------------------------------------------------------------------- /KMP.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/KMP.cpp -------------------------------------------------------------------------------- /LCA.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/LCA.cpp -------------------------------------------------------------------------------- /Lazy Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Lazy Array.cpp -------------------------------------------------------------------------------- /LongestPathInDAG.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/LongestPathInDAG.cpp -------------------------------------------------------------------------------- /MO'a algo with Updates.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/MO'a algo with Updates.cpp -------------------------------------------------------------------------------- /MO's Algo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/MO's Algo.cpp -------------------------------------------------------------------------------- /Manacher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Manacher.cpp -------------------------------------------------------------------------------- /Manhattan MST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Manhattan MST.cpp -------------------------------------------------------------------------------- /MatrixExpo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/MatrixExpo.cpp -------------------------------------------------------------------------------- /Max BPM.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Max BPM.cpp -------------------------------------------------------------------------------- /Max XOR Subset.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Max XOR Subset.cpp -------------------------------------------------------------------------------- /Mex using Trie O(log Max).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Mex using Trie O(log Max).cpp -------------------------------------------------------------------------------- /Millar-Rabin Primality Test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Millar-Rabin Primality Test.cpp -------------------------------------------------------------------------------- /MinCostMaxFlow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/MinCostMaxFlow.cpp -------------------------------------------------------------------------------- /Minimum Expression.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Minimum Expression.cpp -------------------------------------------------------------------------------- /Misc Geometry.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Misc Geometry.cpp -------------------------------------------------------------------------------- /Number Theoretic Transform.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Number Theoretic Transform.cpp -------------------------------------------------------------------------------- /Number Theory for Copy Paste.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Number Theory for Copy Paste.cpp -------------------------------------------------------------------------------- /PalindromicTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/PalindromicTree.cpp -------------------------------------------------------------------------------- /Persistent Segment Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Persistent Segment Tree.cpp -------------------------------------------------------------------------------- /Persistent Trie.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Persistent Trie.cpp -------------------------------------------------------------------------------- /PolardRho.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/PolardRho.cpp -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/README.md -------------------------------------------------------------------------------- /Segment Tree (Lazy Prop).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Segment Tree (Lazy Prop).cpp -------------------------------------------------------------------------------- /Segment Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Segment Tree.cpp -------------------------------------------------------------------------------- /Simpson.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Simpson.cpp -------------------------------------------------------------------------------- /Stoer-Wagner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Stoer-Wagner.cpp -------------------------------------------------------------------------------- /Strongly Connected Components.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Strongly Connected Components.cpp -------------------------------------------------------------------------------- /Suffix Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Suffix Array.cpp -------------------------------------------------------------------------------- /Suffix Automata.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Suffix Automata.cpp -------------------------------------------------------------------------------- /Treap (Basic Operations).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Treap (Basic Operations).cpp -------------------------------------------------------------------------------- /Treap (Implict).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Treap (Implict).cpp -------------------------------------------------------------------------------- /Z-Algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/Z-Algorithm.cpp -------------------------------------------------------------------------------- /maxHistrogram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/maxHistrogram.cpp -------------------------------------------------------------------------------- /nCr mod M.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/nCr mod M.cpp -------------------------------------------------------------------------------- /nextGreaterElement.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/nextGreaterElement.cpp -------------------------------------------------------------------------------- /slidingRMQ.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RezwanArefin01/CodeTemplate/HEAD/slidingRMQ.cpp --------------------------------------------------------------------------------