├── .github ├── FUNDING.yml └── ISSUE_TEMPLATE │ └── feature_request.md ├── 0-1 Knapsack.cpp ├── BFS.cpp ├── Binary Lifting.cpp ├── Binary Search Tree.cpp ├── Binary Tree.cpp ├── Bridges in Undirected Graph.cpp ├── Convex hull trick(Graham_scan).cpp ├── DFS.cpp ├── DFS └── Path Sum.cpp ├── Detect cycle in Directed graph.cpp ├── Dijkstra.cpp ├── Disjoint Set Union Algorithm.cpp ├── Disjoint Set Union.cpp ├── Euler Totient.cpp ├── Euler tour.cpp ├── Floyd Warshal.cpp ├── Hamming Distance.cpp ├── Height of N-ary tree.cpp ├── Kosaraju & Topological Sort.cpp ├── Kruskal.cpp ├── LICENSE ├── Lazy Segment Tree.cpp ├── LostGuyRadha.cpp ├── Lowest Common Ancestor.cpp ├── Maximum Spanning tree.cpp ├── Modular Multiplication and Exponentation.cpp ├── Negative Cycle in graph.cpp ├── Nuttela.cpp ├── PERL ├── 0_or_[aaa].pl ├── MCA..bw.pl ├── online_shop.html └── vowelcount.pl ├── Postorder, Preorder, Inorder.cpp ├── Prims.cpp ├── Priority Queue.cpp ├── Prufer to Tree.cpp ├── RapyutaTest.cpp ├── SPOJ ├── ANDROUND.cpp ├── ANT.cpp ├── DISQUERY.cpp ├── GSS1.cpp └── ORDERSET.cpp ├── SQRT_DECOMPOSITION.cpp ├── SegmentTree.cpp ├── Seive of erasthones.cpp ├── Size_of_subtree.cpp ├── Solution.java ├── Strongly_connected_component.cpp ├── Sum_of_subtree.cpp ├── TerribleMathematics.cpp ├── Testcase_generator(tree).cpp ├── Topological Sort.cpp ├── Treap.cpp ├── Tree to Prufer code.cpp ├── Trie.cpp ├── Unique Characters in String.cpp ├── Wavelet Tree.cpp ├── Z Algorithm.cpp ├── Zeller's congruence.py ├── hackerearth ├── Coloring trees.cpp ├── Help the Avengers.cpp ├── Maximum Spanning Tree.cpp ├── Micro and his Son.cpp ├── Monk and Square Root.cpp ├── Oz Number.cpp ├── Rest in peace - 21-1!.py ├── Sherlock and Date.cpp ├── Small Factorials.py ├── Tablets.py ├── Weighted String.cpp ├── Xenny and K-Equal-Triplets.cpp └── marks_time.cpp ├── matrix_mul.cpp └── readme.md /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /0-1 Knapsack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/0-1 Knapsack.cpp -------------------------------------------------------------------------------- /BFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/BFS.cpp -------------------------------------------------------------------------------- /Binary Lifting.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Binary Lifting.cpp -------------------------------------------------------------------------------- /Binary Search Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Binary Search Tree.cpp -------------------------------------------------------------------------------- /Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Binary Tree.cpp -------------------------------------------------------------------------------- /Bridges in Undirected Graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Bridges in Undirected Graph.cpp -------------------------------------------------------------------------------- /Convex hull trick(Graham_scan).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Convex hull trick(Graham_scan).cpp -------------------------------------------------------------------------------- /DFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/DFS.cpp -------------------------------------------------------------------------------- /DFS/Path Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/DFS/Path Sum.cpp -------------------------------------------------------------------------------- /Detect cycle in Directed graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Detect cycle in Directed graph.cpp -------------------------------------------------------------------------------- /Dijkstra.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Dijkstra.cpp -------------------------------------------------------------------------------- /Disjoint Set Union Algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Disjoint Set Union Algorithm.cpp -------------------------------------------------------------------------------- /Disjoint Set Union.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Disjoint Set Union.cpp -------------------------------------------------------------------------------- /Euler Totient.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Euler Totient.cpp -------------------------------------------------------------------------------- /Euler tour.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Euler tour.cpp -------------------------------------------------------------------------------- /Floyd Warshal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Floyd Warshal.cpp -------------------------------------------------------------------------------- /Hamming Distance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Hamming Distance.cpp -------------------------------------------------------------------------------- /Height of N-ary tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Height of N-ary tree.cpp -------------------------------------------------------------------------------- /Kosaraju & Topological Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Kosaraju & Topological Sort.cpp -------------------------------------------------------------------------------- /Kruskal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Kruskal.cpp -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/LICENSE -------------------------------------------------------------------------------- /Lazy Segment Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Lazy Segment Tree.cpp -------------------------------------------------------------------------------- /LostGuyRadha.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/LostGuyRadha.cpp -------------------------------------------------------------------------------- /Lowest Common Ancestor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Lowest Common Ancestor.cpp -------------------------------------------------------------------------------- /Maximum Spanning tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Maximum Spanning tree.cpp -------------------------------------------------------------------------------- /Modular Multiplication and Exponentation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Modular Multiplication and Exponentation.cpp -------------------------------------------------------------------------------- /Negative Cycle in graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Negative Cycle in graph.cpp -------------------------------------------------------------------------------- /Nuttela.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Nuttela.cpp -------------------------------------------------------------------------------- /PERL/0_or_[aaa].pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/PERL/0_or_[aaa].pl -------------------------------------------------------------------------------- /PERL/MCA..bw.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/PERL/MCA..bw.pl -------------------------------------------------------------------------------- /PERL/online_shop.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/PERL/online_shop.html -------------------------------------------------------------------------------- /PERL/vowelcount.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/PERL/vowelcount.pl -------------------------------------------------------------------------------- /Postorder, Preorder, Inorder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Postorder, Preorder, Inorder.cpp -------------------------------------------------------------------------------- /Prims.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Prims.cpp -------------------------------------------------------------------------------- /Priority Queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Priority Queue.cpp -------------------------------------------------------------------------------- /Prufer to Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Prufer to Tree.cpp -------------------------------------------------------------------------------- /RapyutaTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/RapyutaTest.cpp -------------------------------------------------------------------------------- /SPOJ/ANDROUND.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/SPOJ/ANDROUND.cpp -------------------------------------------------------------------------------- /SPOJ/ANT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/SPOJ/ANT.cpp -------------------------------------------------------------------------------- /SPOJ/DISQUERY.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/SPOJ/DISQUERY.cpp -------------------------------------------------------------------------------- /SPOJ/GSS1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/SPOJ/GSS1.cpp -------------------------------------------------------------------------------- /SPOJ/ORDERSET.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/SPOJ/ORDERSET.cpp -------------------------------------------------------------------------------- /SQRT_DECOMPOSITION.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/SQRT_DECOMPOSITION.cpp -------------------------------------------------------------------------------- /SegmentTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/SegmentTree.cpp -------------------------------------------------------------------------------- /Seive of erasthones.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Seive of erasthones.cpp -------------------------------------------------------------------------------- /Size_of_subtree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Size_of_subtree.cpp -------------------------------------------------------------------------------- /Solution.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Solution.java -------------------------------------------------------------------------------- /Strongly_connected_component.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Strongly_connected_component.cpp -------------------------------------------------------------------------------- /Sum_of_subtree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Sum_of_subtree.cpp -------------------------------------------------------------------------------- /TerribleMathematics.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/TerribleMathematics.cpp -------------------------------------------------------------------------------- /Testcase_generator(tree).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Testcase_generator(tree).cpp -------------------------------------------------------------------------------- /Topological Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Topological Sort.cpp -------------------------------------------------------------------------------- /Treap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Treap.cpp -------------------------------------------------------------------------------- /Tree to Prufer code.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Tree to Prufer code.cpp -------------------------------------------------------------------------------- /Trie.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Trie.cpp -------------------------------------------------------------------------------- /Unique Characters in String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Unique Characters in String.cpp -------------------------------------------------------------------------------- /Wavelet Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Wavelet Tree.cpp -------------------------------------------------------------------------------- /Z Algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Z Algorithm.cpp -------------------------------------------------------------------------------- /Zeller's congruence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/Zeller's congruence.py -------------------------------------------------------------------------------- /hackerearth/Coloring trees.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/hackerearth/Coloring trees.cpp -------------------------------------------------------------------------------- /hackerearth/Help the Avengers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/hackerearth/Help the Avengers.cpp -------------------------------------------------------------------------------- /hackerearth/Maximum Spanning Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/hackerearth/Maximum Spanning Tree.cpp -------------------------------------------------------------------------------- /hackerearth/Micro and his Son.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/hackerearth/Micro and his Son.cpp -------------------------------------------------------------------------------- /hackerearth/Monk and Square Root.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/hackerearth/Monk and Square Root.cpp -------------------------------------------------------------------------------- /hackerearth/Oz Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/hackerearth/Oz Number.cpp -------------------------------------------------------------------------------- /hackerearth/Rest in peace - 21-1!.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/hackerearth/Rest in peace - 21-1!.py -------------------------------------------------------------------------------- /hackerearth/Sherlock and Date.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/hackerearth/Sherlock and Date.cpp -------------------------------------------------------------------------------- /hackerearth/Small Factorials.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/hackerearth/Small Factorials.py -------------------------------------------------------------------------------- /hackerearth/Tablets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/hackerearth/Tablets.py -------------------------------------------------------------------------------- /hackerearth/Weighted String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/hackerearth/Weighted String.cpp -------------------------------------------------------------------------------- /hackerearth/Xenny and K-Equal-Triplets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/hackerearth/Xenny and K-Equal-Triplets.cpp -------------------------------------------------------------------------------- /hackerearth/marks_time.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/hackerearth/marks_time.cpp -------------------------------------------------------------------------------- /matrix_mul.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XDoodler/Algorithms/HEAD/matrix_mul.cpp -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | --------------------------------------------------------------------------------