|
|
|
|
@@ -107,14 +107,14 @@ $(document).ready(function(){initNavTree('d5/d88/md__d_i_r_e_c_t_o_r_y.html','..
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/backtracking/sudoku_solve.cpp" target="_blank">Sudoku Solve</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/backtracking/wildcard_matching.cpp" target="_blank">Wildcard Matching</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md37"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md38"></a>
|
|
|
|
|
Bit Manipulation</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/bit_manipulation/count_of_set_bits.cpp" target="_blank">Count Of Set Bits</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/bit_manipulation/count_of_trailing_ciphers_in_factorial_n.cpp" target="_blank">Count Of Trailing Ciphers In Factorial N</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/bit_manipulation/hamming_distance.cpp" target="_blank">Hamming Distance</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md38"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md39"></a>
|
|
|
|
|
Ciphers</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/ciphers/base64_encoding.cpp" target="_blank">Base64 Encoding</a></li>
|
|
|
|
|
@@ -127,7 +127,7 @@ Ciphers</h1>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/ciphers/vigenere_cipher.cpp" target="_blank">Vigenere Cipher</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/ciphers/xor_cipher.cpp" target="_blank">Xor Cipher</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md39"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md40"></a>
|
|
|
|
|
Data Structures</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/avltree.cpp" target="_blank">Avltree</a></li>
|
|
|
|
|
@@ -154,6 +154,7 @@ Data Structures</h1>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/queue_using_linkedlist.cpp" target="_blank">Queue Using Linkedlist</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/queue_using_two_stacks.cpp" target="_blank">Queue Using Two Stacks</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/rb_tree.cpp" target="_blank">Rb Tree</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/reverse_a_linked_list.cpp" target="_blank">Reverse A Linked List</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/skip_list.cpp" target="_blank">Skip List</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/sparse_table.cpp" target="_blank">Sparse Table</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/stack.h" target="_blank">Stack</a></li>
|
|
|
|
|
@@ -168,12 +169,12 @@ Data Structures</h1>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/trie_tree.cpp" target="_blank">Trie Tree</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/trie_using_hashmap.cpp" target="_blank">Trie Using Hashmap</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md40"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md41"></a>
|
|
|
|
|
Divide And Conquer</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/divide_and_conquer/karatsuba_algorithm_for_fast_multiplication.cpp" target="_blank">Karatsuba Algorithm For Fast Multiplication</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md41"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md42"></a>
|
|
|
|
|
Dynamic Programming</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/dynamic_programming/0_1_knapsack.cpp" target="_blank">0 1 Knapsack</a></li>
|
|
|
|
|
@@ -204,13 +205,13 @@ Dynamic Programming</h1>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/dynamic_programming/tree_height.cpp" target="_blank">Tree Height</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/dynamic_programming/word_break.cpp" target="_blank">Word Break</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md42"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md43"></a>
|
|
|
|
|
Geometry</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/geometry/jarvis_algorithm.cpp" target="_blank">Jarvis Algorithm</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/geometry/line_segment_intersection.cpp" target="_blank">Line Segment Intersection</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md43"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md44"></a>
|
|
|
|
|
Graph</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/graph/bidirectional_dijkstra.cpp" target="_blank">Bidirectional Dijkstra</a></li>
|
|
|
|
|
@@ -234,12 +235,12 @@ Graph</h1>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/graph/topological_sort_by_kahns_algo.cpp" target="_blank">Topological Sort By Kahns Algo</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/graph/travelling_salesman_problem.cpp" target="_blank">Travelling Salesman Problem</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md44"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md45"></a>
|
|
|
|
|
Graphics</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/graphics/spirograph.cpp" target="_blank">Spirograph</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md45"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md46"></a>
|
|
|
|
|
Greedy Algorithms</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/greedy_algorithms/dijkstra.cpp" target="_blank">Dijkstra</a></li>
|
|
|
|
|
@@ -249,7 +250,7 @@ Greedy Algorithms</h1>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/greedy_algorithms/kruskals_minimum_spanning_tree.cpp" target="_blank">Kruskals Minimum Spanning Tree</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/greedy_algorithms/prims_minimum_spanning_tree.cpp" target="_blank">Prims Minimum Spanning Tree</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md46"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md47"></a>
|
|
|
|
|
Hashing</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/hashing/chaining.cpp" target="_blank">Chaining</a></li>
|
|
|
|
|
@@ -259,12 +260,12 @@ Hashing</h1>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/hashing/quadratic_probing_hash_table.cpp" target="_blank">Quadratic Probing Hash Table</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/hashing/sha1.cpp" target="_blank">Sha1</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md47"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md48"></a>
|
|
|
|
|
Linear Algebra</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/linear_algebra/gram_schmidt.cpp" target="_blank">Gram Schmidt</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md48"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md49"></a>
|
|
|
|
|
Machine Learning</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/machine_learning/a_star_search.cpp" target="_blank">A Star Search</a></li>
|
|
|
|
|
@@ -275,7 +276,7 @@ Machine Learning</h1>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/machine_learning/ordinary_least_squares_regressor.cpp" target="_blank">Ordinary Least Squares Regressor</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/machine_learning/vector_ops.hpp" target="_blank">Vector Ops</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md49"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md50"></a>
|
|
|
|
|
Math</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/math/armstrong_number.cpp" target="_blank">Armstrong Number</a></li>
|
|
|
|
|
@@ -329,7 +330,7 @@ Math</h1>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/math/sum_of_digits.cpp" target="_blank">Sum Of Digits</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/math/vector_cross_product.cpp" target="_blank">Vector Cross Product</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md50"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md51"></a>
|
|
|
|
|
Numerical Methods</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/bisection_method.cpp" target="_blank">Bisection Method</a></li>
|
|
|
|
|
@@ -350,7 +351,7 @@ Numerical Methods</h1>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/rungekutta.cpp" target="_blank">Rungekutta</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/successive_approximation.cpp" target="_blank">Successive Approximation</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md51"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md52"></a>
|
|
|
|
|
Operations On Datastructures</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/operations_on_datastructures/array_left_rotation.cpp" target="_blank">Array Left Rotation</a></li>
|
|
|
|
|
@@ -365,7 +366,7 @@ Operations On Datastructures</h1>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/operations_on_datastructures/trie_multiple_search.cpp" target="_blank">Trie Multiple Search</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/operations_on_datastructures/union_of_2_arrays.cpp" target="_blank">Union Of 2 Arrays</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md52"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md53"></a>
|
|
|
|
|
Others</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/others/buzz_number.cpp" target="_blank">Buzz Number</a></li>
|
|
|
|
|
@@ -389,7 +390,7 @@ Others</h1>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/others/tower_of_hanoi.cpp" target="_blank">Tower Of Hanoi</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/others/vector_important_functions.cpp" target="_blank">Vector Important Functions</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md53"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md54"></a>
|
|
|
|
|
Probability</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/probability/addition_rule.cpp" target="_blank">Addition Rule</a></li>
|
|
|
|
|
@@ -397,7 +398,7 @@ Probability</h1>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/probability/binomial_dist.cpp" target="_blank">Binomial Dist</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/probability/poisson_dist.cpp" target="_blank">Poisson Dist</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md54"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md55"></a>
|
|
|
|
|
Range Queries</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/range_queries/fenwick_tree.cpp" target="_blank">Fenwick Tree</a></li>
|
|
|
|
|
@@ -407,7 +408,7 @@ Range Queries</h1>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/range_queries/segtree.cpp" target="_blank">Segtree</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/range_queries/sparse_table.cpp" target="_blank">Sparse Table</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md55"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md56"></a>
|
|
|
|
|
Search</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/search/binary_search.cpp" target="_blank">Binary Search</a></li>
|
|
|
|
|
@@ -425,7 +426,7 @@ Search</h1>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/search/ternary_search.cpp" target="_blank">Ternary Search</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/search/text_search.cpp" target="_blank">Text Search</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md56"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md57"></a>
|
|
|
|
|
Sorting</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/bead_sort.cpp" target="_blank">Bead Sort</a></li>
|
|
|
|
|
@@ -468,7 +469,7 @@ Sorting</h1>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/wave_sort.cpp" target="_blank">Wave Sort</a></li>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/wiggle_sort.cpp" target="_blank">Wiggle Sort</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md57"></a>
|
|
|
|
|
<h1><a class="anchor" id="autotoc_md58"></a>
|
|
|
|
|
Strings</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/strings/brute_force_string_searching.cpp" target="_blank">Brute Force String Searching</a></li>
|
|
|
|
|
|