├── Readme.md └── cpp ├── 2SAT and SCC.cpp ├── AuxTree.cpp ├── BCC.cpp ├── Bellman Ford.cpp ├── CentroidSample.cpp ├── Chinese Remainder Theorum.cpp ├── Detect Cycle in Directed Graph.cpp ├── Detect Cycle in Undirected Graph.cpp ├── Dijkstra.cpp ├── Euler_totient_function.cpp ├── Floyd Warshall.cpp ├── GCD and Mod Exp.cpp ├── Johnson.cpp ├── Kosaraju.cpp ├── Kruskal.cpp ├── Modular Inverse.cpp ├── Number Theory.txt ├── Prim.cpp ├── Sieve.cpp ├── Suffix Trie.cpp ├── Topological Sort.cpp ├── a.cpp ├── addComparatorToSet.cpp ├── convex_hull_dynamic.cpp ├── dinic.cpp ├── dsu.cpp ├── dsuOnTrees.cpp ├── dynamicLiChao.cpp ├── dynamic_seg_tree.cpp ├── fenwik.cpp ├── fenwik_range_range.cpp ├── fft.cpp ├── hld.cpp ├── hopcraft.cpp ├── kmp.cpp ├── lazySegTree.cpp ├── lca.cpp ├── lis.cpp ├── minCostMaxFlow.cpp ├── modulo_oper.cpp ├── mos.cpp ├── nCr.cpp ├── ntt.cpp ├── primitive_root.cpp ├── push_relabel.cpp ├── safe_hash.cpp ├── segTree.cpp ├── segTree_iterative.cpp ├── sosDp.cpp ├── sparseTable.cpp ├── stringHashing.cpp └── suffix_automaton.cpp /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/Readme.md -------------------------------------------------------------------------------- /cpp/2SAT and SCC.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/2SAT and SCC.cpp -------------------------------------------------------------------------------- /cpp/AuxTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/AuxTree.cpp -------------------------------------------------------------------------------- /cpp/BCC.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/BCC.cpp -------------------------------------------------------------------------------- /cpp/Bellman Ford.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/Bellman Ford.cpp -------------------------------------------------------------------------------- /cpp/CentroidSample.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/CentroidSample.cpp -------------------------------------------------------------------------------- /cpp/Chinese Remainder Theorum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/Chinese Remainder Theorum.cpp -------------------------------------------------------------------------------- /cpp/Detect Cycle in Directed Graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/Detect Cycle in Directed Graph.cpp -------------------------------------------------------------------------------- /cpp/Detect Cycle in Undirected Graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/Detect Cycle in Undirected Graph.cpp -------------------------------------------------------------------------------- /cpp/Dijkstra.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/Dijkstra.cpp -------------------------------------------------------------------------------- /cpp/Euler_totient_function.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/Euler_totient_function.cpp -------------------------------------------------------------------------------- /cpp/Floyd Warshall.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/Floyd Warshall.cpp -------------------------------------------------------------------------------- /cpp/GCD and Mod Exp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/GCD and Mod Exp.cpp -------------------------------------------------------------------------------- /cpp/Johnson.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/Johnson.cpp -------------------------------------------------------------------------------- /cpp/Kosaraju.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/Kosaraju.cpp -------------------------------------------------------------------------------- /cpp/Kruskal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/Kruskal.cpp -------------------------------------------------------------------------------- /cpp/Modular Inverse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/Modular Inverse.cpp -------------------------------------------------------------------------------- /cpp/Number Theory.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/Number Theory.txt -------------------------------------------------------------------------------- /cpp/Prim.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/Prim.cpp -------------------------------------------------------------------------------- /cpp/Sieve.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/Sieve.cpp -------------------------------------------------------------------------------- /cpp/Suffix Trie.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/Suffix Trie.cpp -------------------------------------------------------------------------------- /cpp/Topological Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/Topological Sort.cpp -------------------------------------------------------------------------------- /cpp/a.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/a.cpp -------------------------------------------------------------------------------- /cpp/addComparatorToSet.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/addComparatorToSet.cpp -------------------------------------------------------------------------------- /cpp/convex_hull_dynamic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/convex_hull_dynamic.cpp -------------------------------------------------------------------------------- /cpp/dinic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/dinic.cpp -------------------------------------------------------------------------------- /cpp/dsu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/dsu.cpp -------------------------------------------------------------------------------- /cpp/dsuOnTrees.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/dsuOnTrees.cpp -------------------------------------------------------------------------------- /cpp/dynamicLiChao.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/dynamicLiChao.cpp -------------------------------------------------------------------------------- /cpp/dynamic_seg_tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/dynamic_seg_tree.cpp -------------------------------------------------------------------------------- /cpp/fenwik.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/fenwik.cpp -------------------------------------------------------------------------------- /cpp/fenwik_range_range.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/fenwik_range_range.cpp -------------------------------------------------------------------------------- /cpp/fft.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/fft.cpp -------------------------------------------------------------------------------- /cpp/hld.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/hld.cpp -------------------------------------------------------------------------------- /cpp/hopcraft.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/hopcraft.cpp -------------------------------------------------------------------------------- /cpp/kmp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/kmp.cpp -------------------------------------------------------------------------------- /cpp/lazySegTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/lazySegTree.cpp -------------------------------------------------------------------------------- /cpp/lca.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/lca.cpp -------------------------------------------------------------------------------- /cpp/lis.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/lis.cpp -------------------------------------------------------------------------------- /cpp/minCostMaxFlow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/minCostMaxFlow.cpp -------------------------------------------------------------------------------- /cpp/modulo_oper.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/modulo_oper.cpp -------------------------------------------------------------------------------- /cpp/mos.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/mos.cpp -------------------------------------------------------------------------------- /cpp/nCr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/nCr.cpp -------------------------------------------------------------------------------- /cpp/ntt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/ntt.cpp -------------------------------------------------------------------------------- /cpp/primitive_root.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/primitive_root.cpp -------------------------------------------------------------------------------- /cpp/push_relabel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/push_relabel.cpp -------------------------------------------------------------------------------- /cpp/safe_hash.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/safe_hash.cpp -------------------------------------------------------------------------------- /cpp/segTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/segTree.cpp -------------------------------------------------------------------------------- /cpp/segTree_iterative.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/segTree_iterative.cpp -------------------------------------------------------------------------------- /cpp/sosDp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/sosDp.cpp -------------------------------------------------------------------------------- /cpp/sparseTable.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/sparseTable.cpp -------------------------------------------------------------------------------- /cpp/stringHashing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/stringHashing.cpp -------------------------------------------------------------------------------- /cpp/suffix_automaton.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harshhx17/CompetitiveTemplates/HEAD/cpp/suffix_automaton.cpp --------------------------------------------------------------------------------