├── .gitignore ├── LICENSE ├── Online Judge Solve └── Toph │ ├── BDYP & Duoblogger Home Quarantine Contest │ ├── Corona Virus Attacked Kittuk.cpp │ ├── Energy Production.cpp │ ├── Hablu Is in Quarantine.cpp │ ├── Hablu's Team.cpp │ ├── Hide and Seek.cpp │ ├── Justify the Invention !.cpp │ ├── Killing Floor.cpp │ ├── Marks Crisis!!!.cpp │ ├── Social Distancing.cpp │ └── Yet Another Xinversion !.cpp │ ├── BSMRSTU Intra University Programming Contest 2019 │ ├── Aloyna and CAN buying.cpp │ ├── Beauty of AP.cpp │ ├── Building the Number.cpp │ ├── Erik and His Buggy Code.cpp │ ├── Hamming Distance.cpp │ ├── Hardest Problem Ever.cpp │ ├── Mad Engineer Aksir.cpp │ ├── Memes vs. Social Media.cpp │ ├── Palindromic Naming Convention.cpp │ ├── Poltu and Graph.cpp │ ├── Poltu and Interesting Number.cpp │ └── Poltu and Odd Number.cpp │ └── National Girls' Programming Contest 2019 Preliminary │ ├── Arshiya's First Code.cpp │ ├── Day-Month-Year.cpp │ ├── Déjà Vu.cpp │ ├── Expected Result.cpp │ ├── Messy Table.cpp │ ├── Modulo.cpp │ ├── Palindrome Again.cpp │ ├── The Archipelago of Mirpur.cpp │ └── Weird Cake.cpp ├── README.md ├── Resources └── BlogList.md ├── Template Codes ├── 2D_Range_Minimum_Query.cpp ├── Anti_Frustration_Template.cpp ├── BPM-Hopcroft-Karp.cpp ├── BPM.cpp ├── BackTrack │ └── Gym100110A.cpp ├── Bridge.cpp ├── Burnside_Lemma.txt ├── Centroid_Decomposition.cpp ├── ClosestPairPoints.cpp ├── CycleCheckDirectedGraph.cpp ├── Data Structures │ ├── BIT │ │ ├── BIT.cpp │ │ ├── BIT_2D.cpp │ │ ├── BIT_2D_Range.cpp │ │ ├── BIT_3D.cpp │ │ └── BIT_Range.cpp │ ├── HLD_Experiments │ │ ├── FirstTry.cpp │ │ └── QTREE.cpp │ ├── Link Cut Tree │ │ ├── Link-Cut-Tree-RMT.cpp │ │ ├── Link-Cut-Tree-Root.cpp │ │ └── Link-Cut-Tree.cpp │ └── Segment Tree │ │ ├── PersistentRangeMinimumQuery.cpp │ │ ├── SegTree2D.cpp │ │ ├── SegTreeAndOr.cpp │ │ ├── SegTreeID.cpp │ │ ├── SegTreeLazy.cpp │ │ ├── SegTreePersistent.cpp │ │ ├── SegTreeRangeIncrementRangeMax.cpp │ │ └── SparseTable.cpp ├── DequeTechnique.cpp ├── Dijkstra.cpp ├── Dp Optimizations │ ├── D&C_NKLEAVES.cpp │ ├── Divide_And_Conquer.cpp │ └── Sibling Dp.cpp ├── DsuOnTree_246E.cpp ├── FFT.cpp ├── GaussianElemination.cpp ├── Geometry │ ├── ConvexHull.cpp │ ├── Geometry.cpp │ ├── Geometry_Knight_of_Thirteen.cpp │ ├── Geometry_Recollected.cpp │ └── PointInsidePolygon.cpp ├── Graph │ ├── BPM │ │ └── Hopcroft.cpp │ ├── DominatorTree.cpp │ └── Flow │ │ ├── DinicMaxFlow.cpp │ │ ├── FastDinicMaxFlow.cpp │ │ ├── FordFulkersonFlow.cpp │ │ ├── MCMF.cpp │ │ └── Min_Cost_Max_Flow.cpp ├── HLD_Node_Update.cpp ├── Hash │ ├── HashPalindrome.cpp │ └── HashSubString.cpp ├── Kmp.cpp ├── Kruskal.cpp ├── KthString.cpp ├── LCA_Self.cpp ├── LIS.cpp ├── Lucas.cpp ├── MOalgo.cpp ├── Manachar.cpp ├── MatrixExpo.cpp ├── Miller-Rabin.cpp ├── Mobius.cpp ├── Modular Inverse Using Extended Euclid.cpp ├── MyTemplate.cpp ├── Number Theory │ ├── Chinese Remainder Theorem.cpp │ ├── Miller Rabin.cpp │ ├── Pollard Rho New.cpp │ └── Pollard Rho.cpp ├── Number of Subsequences of length K SPOJ INCSEQ.cpp ├── PolynomialOperations.cpp ├── Polynomial_Multiplication.cpp ├── QuickTrie.cpp ├── SOS DP.cpp ├── Small to Large Trick CF 600E.cpp ├── String Algorithms │ ├── Aho Corrasick.cpp │ ├── AhoWithBIT │ ├── FastAho.cpp │ ├── SuffixArrayWithLCP.cpp │ └── gg.cpp ├── SuffixArray.cpp ├── Tree Dp 766E.cpp ├── Trie+SegTree.cpp ├── Trie.cpp ├── XicoVaiTemplate.cpp └── ZAlgorithm.cpp └── UVA ├── 100 - The 3n + 1 problem.cpp ├── 102 - Ecological Bin Packing.cpp ├── 136 - Ugly Numbers.cpp ├── 151 - Power Crisis.cpp └── 696 - How Many Knights.cpp /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/LICENSE -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Corona Virus Attacked Kittuk.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Corona Virus Attacked Kittuk.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Energy Production.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Energy Production.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Hablu Is in Quarantine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Hablu Is in Quarantine.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Hablu's Team.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Hablu's Team.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Hide and Seek.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Hide and Seek.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Justify the Invention !.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Justify the Invention !.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Killing Floor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Killing Floor.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Marks Crisis!!!.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Marks Crisis!!!.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Social Distancing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Social Distancing.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Yet Another Xinversion !.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BDYP & Duoblogger Home Quarantine Contest/Yet Another Xinversion !.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Aloyna and CAN buying.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Aloyna and CAN buying.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Beauty of AP.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Beauty of AP.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Building the Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Building the Number.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Erik and His Buggy Code.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Erik and His Buggy Code.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Hamming Distance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Hamming Distance.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Hardest Problem Ever.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Hardest Problem Ever.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Mad Engineer Aksir.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Mad Engineer Aksir.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Memes vs. Social Media.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Memes vs. Social Media.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Palindromic Naming Convention.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Palindromic Naming Convention.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Poltu and Graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Poltu and Graph.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Poltu and Interesting Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Poltu and Interesting Number.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Poltu and Odd Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/BSMRSTU Intra University Programming Contest 2019/Poltu and Odd Number.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/National Girls' Programming Contest 2019 Preliminary/Arshiya's First Code.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/National Girls' Programming Contest 2019 Preliminary/Arshiya's First Code.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/National Girls' Programming Contest 2019 Preliminary/Day-Month-Year.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/National Girls' Programming Contest 2019 Preliminary/Day-Month-Year.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/National Girls' Programming Contest 2019 Preliminary/Déjà Vu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/National Girls' Programming Contest 2019 Preliminary/Déjà Vu.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/National Girls' Programming Contest 2019 Preliminary/Expected Result.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/National Girls' Programming Contest 2019 Preliminary/Expected Result.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/National Girls' Programming Contest 2019 Preliminary/Messy Table.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/National Girls' Programming Contest 2019 Preliminary/Messy Table.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/National Girls' Programming Contest 2019 Preliminary/Modulo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/National Girls' Programming Contest 2019 Preliminary/Modulo.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/National Girls' Programming Contest 2019 Preliminary/Palindrome Again.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/National Girls' Programming Contest 2019 Preliminary/Palindrome Again.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/National Girls' Programming Contest 2019 Preliminary/The Archipelago of Mirpur.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/National Girls' Programming Contest 2019 Preliminary/The Archipelago of Mirpur.cpp -------------------------------------------------------------------------------- /Online Judge Solve/Toph/National Girls' Programming Contest 2019 Preliminary/Weird Cake.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Online Judge Solve/Toph/National Girls' Programming Contest 2019 Preliminary/Weird Cake.cpp -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/README.md -------------------------------------------------------------------------------- /Resources/BlogList.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Resources/BlogList.md -------------------------------------------------------------------------------- /Template Codes/2D_Range_Minimum_Query.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/2D_Range_Minimum_Query.cpp -------------------------------------------------------------------------------- /Template Codes/Anti_Frustration_Template.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Anti_Frustration_Template.cpp -------------------------------------------------------------------------------- /Template Codes/BPM-Hopcroft-Karp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/BPM-Hopcroft-Karp.cpp -------------------------------------------------------------------------------- /Template Codes/BPM.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/BPM.cpp -------------------------------------------------------------------------------- /Template Codes/BackTrack/Gym100110A.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/BackTrack/Gym100110A.cpp -------------------------------------------------------------------------------- /Template Codes/Bridge.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Bridge.cpp -------------------------------------------------------------------------------- /Template Codes/Burnside_Lemma.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Burnside_Lemma.txt -------------------------------------------------------------------------------- /Template Codes/Centroid_Decomposition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Centroid_Decomposition.cpp -------------------------------------------------------------------------------- /Template Codes/ClosestPairPoints.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/ClosestPairPoints.cpp -------------------------------------------------------------------------------- /Template Codes/CycleCheckDirectedGraph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/CycleCheckDirectedGraph.cpp -------------------------------------------------------------------------------- /Template Codes/Data Structures/BIT/BIT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Data Structures/BIT/BIT.cpp -------------------------------------------------------------------------------- /Template Codes/Data Structures/BIT/BIT_2D.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Data Structures/BIT/BIT_2D.cpp -------------------------------------------------------------------------------- /Template Codes/Data Structures/BIT/BIT_2D_Range.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Data Structures/BIT/BIT_2D_Range.cpp -------------------------------------------------------------------------------- /Template Codes/Data Structures/BIT/BIT_3D.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Data Structures/BIT/BIT_3D.cpp -------------------------------------------------------------------------------- /Template Codes/Data Structures/BIT/BIT_Range.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Data Structures/BIT/BIT_Range.cpp -------------------------------------------------------------------------------- /Template Codes/Data Structures/HLD_Experiments/FirstTry.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Data Structures/HLD_Experiments/FirstTry.cpp -------------------------------------------------------------------------------- /Template Codes/Data Structures/HLD_Experiments/QTREE.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Data Structures/HLD_Experiments/QTREE.cpp -------------------------------------------------------------------------------- /Template Codes/Data Structures/Link Cut Tree/Link-Cut-Tree-RMT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Data Structures/Link Cut Tree/Link-Cut-Tree-RMT.cpp -------------------------------------------------------------------------------- /Template Codes/Data Structures/Link Cut Tree/Link-Cut-Tree-Root.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Data Structures/Link Cut Tree/Link-Cut-Tree-Root.cpp -------------------------------------------------------------------------------- /Template Codes/Data Structures/Link Cut Tree/Link-Cut-Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Data Structures/Link Cut Tree/Link-Cut-Tree.cpp -------------------------------------------------------------------------------- /Template Codes/Data Structures/Segment Tree/PersistentRangeMinimumQuery.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Data Structures/Segment Tree/PersistentRangeMinimumQuery.cpp -------------------------------------------------------------------------------- /Template Codes/Data Structures/Segment Tree/SegTree2D.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Data Structures/Segment Tree/SegTree2D.cpp -------------------------------------------------------------------------------- /Template Codes/Data Structures/Segment Tree/SegTreeAndOr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Data Structures/Segment Tree/SegTreeAndOr.cpp -------------------------------------------------------------------------------- /Template Codes/Data Structures/Segment Tree/SegTreeID.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Data Structures/Segment Tree/SegTreeID.cpp -------------------------------------------------------------------------------- /Template Codes/Data Structures/Segment Tree/SegTreeLazy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Data Structures/Segment Tree/SegTreeLazy.cpp -------------------------------------------------------------------------------- /Template Codes/Data Structures/Segment Tree/SegTreePersistent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Data Structures/Segment Tree/SegTreePersistent.cpp -------------------------------------------------------------------------------- /Template Codes/Data Structures/Segment Tree/SegTreeRangeIncrementRangeMax.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Data Structures/Segment Tree/SegTreeRangeIncrementRangeMax.cpp -------------------------------------------------------------------------------- /Template Codes/Data Structures/Segment Tree/SparseTable.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Data Structures/Segment Tree/SparseTable.cpp -------------------------------------------------------------------------------- /Template Codes/DequeTechnique.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/DequeTechnique.cpp -------------------------------------------------------------------------------- /Template Codes/Dijkstra.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Dijkstra.cpp -------------------------------------------------------------------------------- /Template Codes/Dp Optimizations/D&C_NKLEAVES.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Dp Optimizations/D&C_NKLEAVES.cpp -------------------------------------------------------------------------------- /Template Codes/Dp Optimizations/Divide_And_Conquer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Dp Optimizations/Divide_And_Conquer.cpp -------------------------------------------------------------------------------- /Template Codes/Dp Optimizations/Sibling Dp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Dp Optimizations/Sibling Dp.cpp -------------------------------------------------------------------------------- /Template Codes/DsuOnTree_246E.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/DsuOnTree_246E.cpp -------------------------------------------------------------------------------- /Template Codes/FFT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/FFT.cpp -------------------------------------------------------------------------------- /Template Codes/GaussianElemination.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/GaussianElemination.cpp -------------------------------------------------------------------------------- /Template Codes/Geometry/ConvexHull.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Geometry/ConvexHull.cpp -------------------------------------------------------------------------------- /Template Codes/Geometry/Geometry.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Geometry/Geometry.cpp -------------------------------------------------------------------------------- /Template Codes/Geometry/Geometry_Knight_of_Thirteen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Geometry/Geometry_Knight_of_Thirteen.cpp -------------------------------------------------------------------------------- /Template Codes/Geometry/Geometry_Recollected.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Geometry/Geometry_Recollected.cpp -------------------------------------------------------------------------------- /Template Codes/Geometry/PointInsidePolygon.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Geometry/PointInsidePolygon.cpp -------------------------------------------------------------------------------- /Template Codes/Graph/BPM/Hopcroft.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Graph/BPM/Hopcroft.cpp -------------------------------------------------------------------------------- /Template Codes/Graph/DominatorTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Graph/DominatorTree.cpp -------------------------------------------------------------------------------- /Template Codes/Graph/Flow/DinicMaxFlow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Graph/Flow/DinicMaxFlow.cpp -------------------------------------------------------------------------------- /Template Codes/Graph/Flow/FastDinicMaxFlow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Graph/Flow/FastDinicMaxFlow.cpp -------------------------------------------------------------------------------- /Template Codes/Graph/Flow/FordFulkersonFlow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Graph/Flow/FordFulkersonFlow.cpp -------------------------------------------------------------------------------- /Template Codes/Graph/Flow/MCMF.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Graph/Flow/MCMF.cpp -------------------------------------------------------------------------------- /Template Codes/Graph/Flow/Min_Cost_Max_Flow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Graph/Flow/Min_Cost_Max_Flow.cpp -------------------------------------------------------------------------------- /Template Codes/HLD_Node_Update.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/HLD_Node_Update.cpp -------------------------------------------------------------------------------- /Template Codes/Hash/HashPalindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Hash/HashPalindrome.cpp -------------------------------------------------------------------------------- /Template Codes/Hash/HashSubString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Hash/HashSubString.cpp -------------------------------------------------------------------------------- /Template Codes/Kmp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Kmp.cpp -------------------------------------------------------------------------------- /Template Codes/Kruskal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Kruskal.cpp -------------------------------------------------------------------------------- /Template Codes/KthString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/KthString.cpp -------------------------------------------------------------------------------- /Template Codes/LCA_Self.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/LCA_Self.cpp -------------------------------------------------------------------------------- /Template Codes/LIS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/LIS.cpp -------------------------------------------------------------------------------- /Template Codes/Lucas.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Lucas.cpp -------------------------------------------------------------------------------- /Template Codes/MOalgo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/MOalgo.cpp -------------------------------------------------------------------------------- /Template Codes/Manachar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Manachar.cpp -------------------------------------------------------------------------------- /Template Codes/MatrixExpo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/MatrixExpo.cpp -------------------------------------------------------------------------------- /Template Codes/Miller-Rabin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Miller-Rabin.cpp -------------------------------------------------------------------------------- /Template Codes/Mobius.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Mobius.cpp -------------------------------------------------------------------------------- /Template Codes/Modular Inverse Using Extended Euclid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Modular Inverse Using Extended Euclid.cpp -------------------------------------------------------------------------------- /Template Codes/MyTemplate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/MyTemplate.cpp -------------------------------------------------------------------------------- /Template Codes/Number Theory/Chinese Remainder Theorem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Number Theory/Chinese Remainder Theorem.cpp -------------------------------------------------------------------------------- /Template Codes/Number Theory/Miller Rabin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Number Theory/Miller Rabin.cpp -------------------------------------------------------------------------------- /Template Codes/Number Theory/Pollard Rho New.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Number Theory/Pollard Rho New.cpp -------------------------------------------------------------------------------- /Template Codes/Number Theory/Pollard Rho.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Number Theory/Pollard Rho.cpp -------------------------------------------------------------------------------- /Template Codes/Number of Subsequences of length K SPOJ INCSEQ.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Number of Subsequences of length K SPOJ INCSEQ.cpp -------------------------------------------------------------------------------- /Template Codes/PolynomialOperations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/PolynomialOperations.cpp -------------------------------------------------------------------------------- /Template Codes/Polynomial_Multiplication.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Polynomial_Multiplication.cpp -------------------------------------------------------------------------------- /Template Codes/QuickTrie.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/QuickTrie.cpp -------------------------------------------------------------------------------- /Template Codes/SOS DP.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/SOS DP.cpp -------------------------------------------------------------------------------- /Template Codes/Small to Large Trick CF 600E.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Small to Large Trick CF 600E.cpp -------------------------------------------------------------------------------- /Template Codes/String Algorithms/Aho Corrasick.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/String Algorithms/Aho Corrasick.cpp -------------------------------------------------------------------------------- /Template Codes/String Algorithms/AhoWithBIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/String Algorithms/AhoWithBIT -------------------------------------------------------------------------------- /Template Codes/String Algorithms/FastAho.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/String Algorithms/FastAho.cpp -------------------------------------------------------------------------------- /Template Codes/String Algorithms/SuffixArrayWithLCP.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/String Algorithms/SuffixArrayWithLCP.cpp -------------------------------------------------------------------------------- /Template Codes/String Algorithms/gg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/String Algorithms/gg.cpp -------------------------------------------------------------------------------- /Template Codes/SuffixArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/SuffixArray.cpp -------------------------------------------------------------------------------- /Template Codes/Tree Dp 766E.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Tree Dp 766E.cpp -------------------------------------------------------------------------------- /Template Codes/Trie+SegTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Trie+SegTree.cpp -------------------------------------------------------------------------------- /Template Codes/Trie.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/Trie.cpp -------------------------------------------------------------------------------- /Template Codes/XicoVaiTemplate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/XicoVaiTemplate.cpp -------------------------------------------------------------------------------- /Template Codes/ZAlgorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/Template Codes/ZAlgorithm.cpp -------------------------------------------------------------------------------- /UVA/100 - The 3n + 1 problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/UVA/100 - The 3n + 1 problem.cpp -------------------------------------------------------------------------------- /UVA/102 - Ecological Bin Packing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/UVA/102 - Ecological Bin Packing.cpp -------------------------------------------------------------------------------- /UVA/136 - Ugly Numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/UVA/136 - Ugly Numbers.cpp -------------------------------------------------------------------------------- /UVA/151 - Power Crisis.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/UVA/151 - Power Crisis.cpp -------------------------------------------------------------------------------- /UVA/696 - How Many Knights.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fsshakkhor/competitive-programming/HEAD/UVA/696 - How Many Knights.cpp --------------------------------------------------------------------------------