From 32c725603f912448a6ac12a9405d4c2e002304c0 Mon Sep 17 00:00:00 2001 From: Mohammed YMIK Date: Fri, 12 Jun 2020 14:56:57 +0100 Subject: [PATCH 1/9] add atoi that convert string to integer --- conversions/c_atoi_str_to_integer.c | 40 +++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 conversions/c_atoi_str_to_integer.c diff --git a/conversions/c_atoi_str_to_integer.c b/conversions/c_atoi_str_to_integer.c new file mode 100644 index 00000000..ac9cc81e --- /dev/null +++ b/conversions/c_atoi_str_to_integer.c @@ -0,0 +1,40 @@ +#include + +// recoding the original atoi function in stdlib.h +int c_atoi(char *str) +{ + int i; + int sign; + long value; + long prev; + + i = 0; + sign = 1; + value = 0; + // skip wait spaces + while (((str[i] <= 13 && str[i] >= 9) || str[i] == 32) && str[i] != '\0') + i++; + // store the sign + if (str[i] == '-' || str[i] == '+') + (str[i++] == '-') ? sign = -1 : 1; + // convert char by char to an int value + while (str[i] >= 48 && str[i] <= 57 && str[i] != '\0') + { + prev = value; + value = value * 10 + sign * (str[i] - '0'); + // manage the overflow + if (sign == 1 && prev > value) + return (-1); + else if (sign == -1 && prev < value) + return (0); + i++; + } + return (value); +} + + +int main() +{ + // Test + printf("%d\n", c_atoi("-234")); +} From 18c677d6a5f8423e90497f7bef566841fe28359b Mon Sep 17 00:00:00 2001 From: Mohammed YMIK Date: Fri, 12 Jun 2020 16:11:41 +0100 Subject: [PATCH 2/9] Add doc, signature, indentation --- conversions/c_atoi_str_to_integer.c | 109 ++++++++++++++++++++-------- 1 file changed, 78 insertions(+), 31 deletions(-) diff --git a/conversions/c_atoi_str_to_integer.c b/conversions/c_atoi_str_to_integer.c index ac9cc81e..3d213c24 100644 --- a/conversions/c_atoi_str_to_integer.c +++ b/conversions/c_atoi_str_to_integer.c @@ -1,40 +1,87 @@ +/** + * \file + * \brief Recoding the original atoi function in stdlib.h + * \author [Krishna Vedala](https://github.com/kvedala) + * + * The function convert a string passed to an integer + */ #include +#include +#include +#include -// recoding the original atoi function in stdlib.h -int c_atoi(char *str) +/** + * the function take a string and return an integer + * \param[out] str pointer to a char address + */ +int c_atoi(const char *str) { - int i; - int sign; - long value; - long prev; + /** + * i is a counter + * sign hold the sign (negative or positive) + * value hold the current value by default set to 0 + * prev hold the previous value for managing the overflow + */ + int i; + int sign; + long value; + long prev; - i = 0; - sign = 1; - value = 0; - // skip wait spaces - while (((str[i] <= 13 && str[i] >= 9) || str[i] == 32) && str[i] != '\0') - i++; - // store the sign - if (str[i] == '-' || str[i] == '+') - (str[i++] == '-') ? sign = -1 : 1; - // convert char by char to an int value - while (str[i] >= 48 && str[i] <= 57 && str[i] != '\0') - { - prev = value; - value = value * 10 + sign * (str[i] - '0'); - // manage the overflow - if (sign == 1 && prev > value) - return (-1); - else if (sign == -1 && prev < value) - return (0); - i++; - } - return (value); + i = 0; + sign = 1; + value = 0; + + /* skipping the spaces */ + while (((str[i] <= 13 && str[i] >= 9) || str[i] == 32) && str[i] != '\0') + i++; + + /* store the sign if it is negative sign */ + if (str[i] == '-' || str[i] == '+') + (str[i++] == '-') ? sign = -1 : 1; + + /* converting char by char to a numeric value */ + while (str[i] >= 48 && str[i] <= 57 && str[i] != '\0') + { + prev = value; + value = value * 10 + sign * (str[i] - '0'); + + /* managing the overflow */ + if (sign == 1 && prev > value) + return (-1); + else if (sign == -1 && prev < value) + return (0); + i++; + } + return (value); +} + +/** + * test the function implementation + */ +int test_c_atoi() +{ + printf("<<<< TEST FUNCTION >>>>\n"); + assert(c_atoi("123") == atoi("123")); + assert(c_atoi("-123") == atoi("-123")); + assert(c_atoi("") == atoi("")); + assert(c_atoi("-h23") == atoi("-h23")); + assert(c_atoi(" 23") == atoi(" 23")); + assert(c_atoi("999999999999") == atoi("999999999999")); + printf("<<<< TEST DONE >>>>\n"); } -int main() +/** + * the main function take one argument of type char* + * example : ./program 123 + */ +int main(int argc, char **argv) { - // Test - printf("%d\n", c_atoi("-234")); + if (argc == 2) + { + printf("Your number + 5 is %d\n", c_atoi(argv[1]) + 5); + return (0); + } + printf("wrong number of parmeters\n"); + return (1); } From f0b872e979417f729d986ac0e4cdedb6cc6655d4 Mon Sep 17 00:00:00 2001 From: Mohammed YMIK <35063009+medymik@users.noreply.github.com> Date: Fri, 12 Jun 2020 16:13:32 +0100 Subject: [PATCH 3/9] Update author --- conversions/c_atoi_str_to_integer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conversions/c_atoi_str_to_integer.c b/conversions/c_atoi_str_to_integer.c index 3d213c24..fa63f0fb 100644 --- a/conversions/c_atoi_str_to_integer.c +++ b/conversions/c_atoi_str_to_integer.c @@ -1,7 +1,7 @@ /** * \file * \brief Recoding the original atoi function in stdlib.h - * \author [Krishna Vedala](https://github.com/kvedala) + * \author [Medymik](https://github.com/medymik) * * The function convert a string passed to an integer */ From ddc689a335bf79c9e0b765417def4ca149c3ccea Mon Sep 17 00:00:00 2001 From: Mohammed YMIK Date: Fri, 12 Jun 2020 16:38:52 +0100 Subject: [PATCH 4/9] Done --- conversions/c_atoi_str_to_integer.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/conversions/c_atoi_str_to_integer.c b/conversions/c_atoi_str_to_integer.c index 3d213c24..01ba2c53 100644 --- a/conversions/c_atoi_str_to_integer.c +++ b/conversions/c_atoi_str_to_integer.c @@ -1,7 +1,7 @@ /** * \file * \brief Recoding the original atoi function in stdlib.h - * \author [Krishna Vedala](https://github.com/kvedala) + * \author [Mohammed YMIK](https://github.com/medymik) * * The function convert a string passed to an integer */ @@ -16,12 +16,6 @@ */ int c_atoi(const char *str) { - /** - * i is a counter - * sign hold the sign (negative or positive) - * value hold the current value by default set to 0 - * prev hold the previous value for managing the overflow - */ int i; int sign; long value; From 5cc83fe0368987576d84e94953593cc75ef85a9c Mon Sep 17 00:00:00 2001 From: Mohammed YMIK Date: Fri, 12 Jun 2020 16:53:37 +0100 Subject: [PATCH 5/9] up to date --- conversions/c_atoi_str_to_integer.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/conversions/c_atoi_str_to_integer.c b/conversions/c_atoi_str_to_integer.c index 6d491f5a..e16c7774 100644 --- a/conversions/c_atoi_str_to_integer.c +++ b/conversions/c_atoi_str_to_integer.c @@ -1,12 +1,7 @@ /** * \file * \brief Recoding the original atoi function in stdlib.h -<<<<<<< HEAD - * \author [Mohammed YMIK](https://github.com/medymik) -======= - * \author [Medymik](https://github.com/medymik) ->>>>>>> f0b872e979417f729d986ac0e4cdedb6cc6655d4 - * + * \author [Mohammed YMIK](https://github.com/medymik)W * The function convert a string passed to an integer */ #include From cf4be8838e84fcd118a781f6168234a263d1d11e Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Wed, 17 Jun 2020 12:15:14 +0000 Subject: [PATCH 6/9] updating DIRECTORY.md --- DIRECTORY.md | 1 + 1 file changed, 1 insertion(+) diff --git a/DIRECTORY.md b/DIRECTORY.md index ecea9a2c..4b901549 100644 --- a/DIRECTORY.md +++ b/DIRECTORY.md @@ -20,6 +20,7 @@ * [Binary To Decimal](https://github.com/TheAlgorithms/C/blob/master/conversions/binary_to_decimal.c) * [Binary To Hexadecimal](https://github.com/TheAlgorithms/C/blob/master/conversions/binary_to_hexadecimal.c) * [Binary To Octal](https://github.com/TheAlgorithms/C/blob/master/conversions/binary_to_octal.c) + * [C Atoi Str To Integer](https://github.com/TheAlgorithms/C/blob/master/conversions/c_atoi_str_to_integer.c) * [Decimal To Binary](https://github.com/TheAlgorithms/C/blob/master/conversions/decimal_to_binary.c) * [Decimal To Hexa](https://github.com/TheAlgorithms/C/blob/master/conversions/decimal_to_hexa.c) * [Decimal To Octal](https://github.com/TheAlgorithms/C/blob/master/conversions/decimal_to_octal.c) From bb20a2548f9f034d103a73293c22b76a85411271 Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Wed, 17 Jun 2020 23:14:32 +0000 Subject: [PATCH 7/9] updating DIRECTORY.md --- DIRECTORY.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/DIRECTORY.md b/DIRECTORY.md index 3fae4f91..272545d0 100644 --- a/DIRECTORY.md +++ b/DIRECTORY.md @@ -7,17 +7,17 @@ * [Udp Server](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/client_server/udp_server.c) ## Conversions - * [Binary To Decimal](https://github.com/TheAlgorithms/C/blob/master/conversions/binary_to_decimal.c) - * [Binary To Hexadecimal](https://github.com/TheAlgorithms/C/blob/master/conversions/binary_to_hexadecimal.c) - * [Binary To Octal](https://github.com/TheAlgorithms/C/blob/master/conversions/binary_to_octal.c) - * [C Atoi Str To Integer](https://github.com/TheAlgorithms/C/blob/master/conversions/c_atoi_str_to_integer.c) - * [Decimal To Binary](https://github.com/TheAlgorithms/C/blob/master/conversions/decimal_to_binary.c) - * [Decimal To Hexa](https://github.com/TheAlgorithms/C/blob/master/conversions/decimal_to_hexa.c) - * [Decimal To Octal](https://github.com/TheAlgorithms/C/blob/master/conversions/decimal_to_octal.c) - * [Decimal To Octal Recursion](https://github.com/TheAlgorithms/C/blob/master/conversions/decimal_to_octal_recursion.c) - * [Hexadecimal To Octal](https://github.com/TheAlgorithms/C/blob/master/conversions/hexadecimal_to_octal.c) - * [Octal To Decimal](https://github.com/TheAlgorithms/C/blob/master/conversions/octal_to_decimal.c) - * [To Decimal](https://github.com/TheAlgorithms/C/blob/master/conversions/to_decimal.c) + * [Binary To Decimal](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/binary_to_decimal.c) + * [Binary To Hexadecimal](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/binary_to_hexadecimal.c) + * [Binary To Octal](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/binary_to_octal.c) + * [C Atoi Str To Integer](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/c_atoi_str_to_integer.c) + * [Decimal To Binary](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/decimal_to_binary.c) + * [Decimal To Hexa](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/decimal_to_hexa.c) + * [Decimal To Octal](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/decimal_to_octal.c) + * [Decimal To Octal Recursion](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/decimal_to_octal_recursion.c) + * [Hexadecimal To Octal](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/hexadecimal_to_octal.c) + * [Octal To Decimal](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/octal_to_decimal.c) + * [To Decimal](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/to_decimal.c) ## Data Structures * Array From bdb81dfc1b37eb6c40db971fcdcec3c67f95076f Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Wed, 17 Jun 2020 19:18:16 -0400 Subject: [PATCH 8/9] fix URL_BASE while updating DIRECTORY.md --- .github/workflows/awesome_workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/awesome_workflow.yml b/.github/workflows/awesome_workflow.yml index 410a994e..6052659c 100644 --- a/.github/workflows/awesome_workflow.yml +++ b/.github/workflows/awesome_workflow.yml @@ -71,7 +71,7 @@ jobs: import os from typing import Iterator - URL_BASE = "https://github.com/TheAlgorithms/C-Plus-Plus/blob/master" + URL_BASE = "https://github.com/TheAlgorithms/C/blob/master" g_output = [] def good_filepaths(top_dir: str = ".") -> Iterator[str]: From e21049e8b381780b9a34d63ff68af432255860e4 Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Wed, 17 Jun 2020 23:19:30 +0000 Subject: [PATCH 9/9] updating DIRECTORY.md --- DIRECTORY.md | 582 +++++++++++++++++++++++++-------------------------- 1 file changed, 291 insertions(+), 291 deletions(-) diff --git a/DIRECTORY.md b/DIRECTORY.md index 272545d0..d5d9be97 100644 --- a/DIRECTORY.md +++ b/DIRECTORY.md @@ -1,360 +1,360 @@ # List of all files ## Client Server - * [Client](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/client_server/client.c) - * [Server](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/client_server/server.c) - * [Udp Client](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/client_server/udp_client.c) - * [Udp Server](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/client_server/udp_server.c) + * [Client](https://github.com/TheAlgorithms/C/blob/master/client_server/client.c) + * [Server](https://github.com/TheAlgorithms/C/blob/master/client_server/server.c) + * [Udp Client](https://github.com/TheAlgorithms/C/blob/master/client_server/udp_client.c) + * [Udp Server](https://github.com/TheAlgorithms/C/blob/master/client_server/udp_server.c) ## Conversions - * [Binary To Decimal](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/binary_to_decimal.c) - * [Binary To Hexadecimal](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/binary_to_hexadecimal.c) - * [Binary To Octal](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/binary_to_octal.c) - * [C Atoi Str To Integer](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/c_atoi_str_to_integer.c) - * [Decimal To Binary](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/decimal_to_binary.c) - * [Decimal To Hexa](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/decimal_to_hexa.c) - * [Decimal To Octal](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/decimal_to_octal.c) - * [Decimal To Octal Recursion](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/decimal_to_octal_recursion.c) - * [Hexadecimal To Octal](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/hexadecimal_to_octal.c) - * [Octal To Decimal](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/octal_to_decimal.c) - * [To Decimal](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/conversions/to_decimal.c) + * [Binary To Decimal](https://github.com/TheAlgorithms/C/blob/master/conversions/binary_to_decimal.c) + * [Binary To Hexadecimal](https://github.com/TheAlgorithms/C/blob/master/conversions/binary_to_hexadecimal.c) + * [Binary To Octal](https://github.com/TheAlgorithms/C/blob/master/conversions/binary_to_octal.c) + * [C Atoi Str To Integer](https://github.com/TheAlgorithms/C/blob/master/conversions/c_atoi_str_to_integer.c) + * [Decimal To Binary](https://github.com/TheAlgorithms/C/blob/master/conversions/decimal_to_binary.c) + * [Decimal To Hexa](https://github.com/TheAlgorithms/C/blob/master/conversions/decimal_to_hexa.c) + * [Decimal To Octal](https://github.com/TheAlgorithms/C/blob/master/conversions/decimal_to_octal.c) + * [Decimal To Octal Recursion](https://github.com/TheAlgorithms/C/blob/master/conversions/decimal_to_octal_recursion.c) + * [Hexadecimal To Octal](https://github.com/TheAlgorithms/C/blob/master/conversions/hexadecimal_to_octal.c) + * [Octal To Decimal](https://github.com/TheAlgorithms/C/blob/master/conversions/octal_to_decimal.c) + * [To Decimal](https://github.com/TheAlgorithms/C/blob/master/conversions/to_decimal.c) ## Data Structures * Array - * [Carray](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/array/carray.c) - * [Carray](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/array/carray.h) - * [Carray Tests](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/array/carray_tests.c) + * [Carray](https://github.com/TheAlgorithms/C/blob/master/data_structures/array/carray.c) + * [Carray](https://github.com/TheAlgorithms/C/blob/master/data_structures/array/carray.h) + * [Carray Tests](https://github.com/TheAlgorithms/C/blob/master/data_structures/array/carray_tests.c) * Binary Trees - * [Avl](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/binary_trees/avl.c) - * [Binary Search Tree](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/binary_trees/binary_search_tree.c) - * [Create Node](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/binary_trees/create_node.c) - * [Recursive Traversals](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/binary_trees/recursive_traversals.c) - * [Redblacktree](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/binary_trees/redblacktree.c) - * [Threaded Binary Trees](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/binary_trees/threaded_binary_trees.c) + * [Avl](https://github.com/TheAlgorithms/C/blob/master/data_structures/binary_trees/avl.c) + * [Binary Search Tree](https://github.com/TheAlgorithms/C/blob/master/data_structures/binary_trees/binary_search_tree.c) + * [Create Node](https://github.com/TheAlgorithms/C/blob/master/data_structures/binary_trees/create_node.c) + * [Recursive Traversals](https://github.com/TheAlgorithms/C/blob/master/data_structures/binary_trees/recursive_traversals.c) + * [Redblacktree](https://github.com/TheAlgorithms/C/blob/master/data_structures/binary_trees/redblacktree.c) + * [Threaded Binary Trees](https://github.com/TheAlgorithms/C/blob/master/data_structures/binary_trees/threaded_binary_trees.c) * Dictionary - * [Dict](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/dictionary/dict.c) - * [Dict](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/dictionary/dict.h) - * [Test Program](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/dictionary/test_program.c) + * [Dict](https://github.com/TheAlgorithms/C/blob/master/data_structures/dictionary/dict.c) + * [Dict](https://github.com/TheAlgorithms/C/blob/master/data_structures/dictionary/dict.h) + * [Test Program](https://github.com/TheAlgorithms/C/blob/master/data_structures/dictionary/test_program.c) * Dynamic Array - * [Dynamic Array](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/dynamic_array/dynamic_array.c) - * [Dynamic Array](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/dynamic_array/dynamic_array.h) - * [Main](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/dynamic_array/main.c) + * [Dynamic Array](https://github.com/TheAlgorithms/C/blob/master/data_structures/dynamic_array/dynamic_array.c) + * [Dynamic Array](https://github.com/TheAlgorithms/C/blob/master/data_structures/dynamic_array/dynamic_array.h) + * [Main](https://github.com/TheAlgorithms/C/blob/master/data_structures/dynamic_array/main.c) * Graphs - * [Bellman Ford](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/graphs/bellman_ford.c) - * [Bfs](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/graphs/bfs.c) - * [Bfsqueue](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/graphs/bfsqueue.c) - * [Dfs](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/graphs/dfs.c) - * [Dfsrecursive](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/graphs/dfsrecursive.c) - * [Dijkstra](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/graphs/dijkstra.c) - * [Euler](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/graphs/euler.c) - * [Floyd Warshall](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/graphs/floyd_warshall.c) - * [Graph](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/graphs/graph.c) - * [Graph](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/graphs/graph.h) - * [Hamiltonian](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/graphs/hamiltonian.c) - * [Kruskal](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/graphs/kruskal.c) - * [Queue](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/graphs/queue.c) - * [Queue](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/graphs/queue.h) - * [Strongly Connected Components](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/graphs/strongly_connected_components.c) - * [Topologicalsort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/graphs/topologicalsort.c) - * [Transitiveclosure](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/graphs/transitiveclosure.c) + * [Bellman Ford](https://github.com/TheAlgorithms/C/blob/master/data_structures/graphs/bellman_ford.c) + * [Bfs](https://github.com/TheAlgorithms/C/blob/master/data_structures/graphs/bfs.c) + * [Bfsqueue](https://github.com/TheAlgorithms/C/blob/master/data_structures/graphs/bfsqueue.c) + * [Dfs](https://github.com/TheAlgorithms/C/blob/master/data_structures/graphs/dfs.c) + * [Dfsrecursive](https://github.com/TheAlgorithms/C/blob/master/data_structures/graphs/dfsrecursive.c) + * [Dijkstra](https://github.com/TheAlgorithms/C/blob/master/data_structures/graphs/dijkstra.c) + * [Euler](https://github.com/TheAlgorithms/C/blob/master/data_structures/graphs/euler.c) + * [Floyd Warshall](https://github.com/TheAlgorithms/C/blob/master/data_structures/graphs/floyd_warshall.c) + * [Graph](https://github.com/TheAlgorithms/C/blob/master/data_structures/graphs/graph.c) + * [Graph](https://github.com/TheAlgorithms/C/blob/master/data_structures/graphs/graph.h) + * [Hamiltonian](https://github.com/TheAlgorithms/C/blob/master/data_structures/graphs/hamiltonian.c) + * [Kruskal](https://github.com/TheAlgorithms/C/blob/master/data_structures/graphs/kruskal.c) + * [Queue](https://github.com/TheAlgorithms/C/blob/master/data_structures/graphs/queue.c) + * [Queue](https://github.com/TheAlgorithms/C/blob/master/data_structures/graphs/queue.h) + * [Strongly Connected Components](https://github.com/TheAlgorithms/C/blob/master/data_structures/graphs/strongly_connected_components.c) + * [Topologicalsort](https://github.com/TheAlgorithms/C/blob/master/data_structures/graphs/topologicalsort.c) + * [Transitiveclosure](https://github.com/TheAlgorithms/C/blob/master/data_structures/graphs/transitiveclosure.c) * Hash Set - * [Hash Set](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/hash_set/hash_set.c) - * [Hash Set](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/hash_set/hash_set.h) - * [Main](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/hash_set/main.c) + * [Hash Set](https://github.com/TheAlgorithms/C/blob/master/data_structures/hash_set/hash_set.c) + * [Hash Set](https://github.com/TheAlgorithms/C/blob/master/data_structures/hash_set/hash_set.h) + * [Main](https://github.com/TheAlgorithms/C/blob/master/data_structures/hash_set/main.c) * Heap - * [Max Heap](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/heap/max_heap.c) - * [Min Heap](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/heap/min_heap.c) + * [Max Heap](https://github.com/TheAlgorithms/C/blob/master/data_structures/heap/max_heap.c) + * [Min Heap](https://github.com/TheAlgorithms/C/blob/master/data_structures/heap/min_heap.c) * Linked List - * [Ascendingpriorityqueue](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/linked_list/ascendingpriorityqueue.c) - * [Circularlinkedlist](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/linked_list/CircularLinkedList.C) - * [Merge Linked Lists](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/linked_list/merge_linked_lists.c) - * [Middle Element In List](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/linked_list/middle_element_in_list.c) - * [Queue Linked List](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/linked_list/queue_linked_list.c) - * [Singly Link List Deletion](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/linked_list/singly_link_list_deletion.c) - * [Stack Using Linked Lists](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/linked_list/stack_using_linked_lists.c) + * [Ascendingpriorityqueue](https://github.com/TheAlgorithms/C/blob/master/data_structures/linked_list/ascendingpriorityqueue.c) + * [Circularlinkedlist](https://github.com/TheAlgorithms/C/blob/master/data_structures/linked_list/CircularLinkedList.C) + * [Merge Linked Lists](https://github.com/TheAlgorithms/C/blob/master/data_structures/linked_list/merge_linked_lists.c) + * [Middle Element In List](https://github.com/TheAlgorithms/C/blob/master/data_structures/linked_list/middle_element_in_list.c) + * [Queue Linked List](https://github.com/TheAlgorithms/C/blob/master/data_structures/linked_list/queue_linked_list.c) + * [Singly Link List Deletion](https://github.com/TheAlgorithms/C/blob/master/data_structures/linked_list/singly_link_list_deletion.c) + * [Stack Using Linked Lists](https://github.com/TheAlgorithms/C/blob/master/data_structures/linked_list/stack_using_linked_lists.c) * List - * [List](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/list/list.c) - * [List](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/list/list.h) - * [Main](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/list/main.c) - * [Queue](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/queue.c) - * [Stack](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/stack.c) + * [List](https://github.com/TheAlgorithms/C/blob/master/data_structures/list/list.c) + * [List](https://github.com/TheAlgorithms/C/blob/master/data_structures/list/list.h) + * [Main](https://github.com/TheAlgorithms/C/blob/master/data_structures/list/main.c) + * [Queue](https://github.com/TheAlgorithms/C/blob/master/data_structures/queue.c) + * [Stack](https://github.com/TheAlgorithms/C/blob/master/data_structures/stack.c) * Stack - * [Main](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/stack/main.c) - * [Parenthesis](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/stack/parenthesis.c) - * [Stack](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/stack/stack.c) - * [Stack](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/stack/stack.h) + * [Main](https://github.com/TheAlgorithms/C/blob/master/data_structures/stack/main.c) + * [Parenthesis](https://github.com/TheAlgorithms/C/blob/master/data_structures/stack/parenthesis.c) + * [Stack](https://github.com/TheAlgorithms/C/blob/master/data_structures/stack/stack.c) + * [Stack](https://github.com/TheAlgorithms/C/blob/master/data_structures/stack/stack.h) * Stack Linked List - * [Main](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/stack/stack_linked_list/main.c) - * [Stack](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/stack/stack_linked_list/stack.c) - * [Stack](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/stack/stack_linked_list/stack.h) + * [Main](https://github.com/TheAlgorithms/C/blob/master/data_structures/stack/stack_linked_list/main.c) + * [Stack](https://github.com/TheAlgorithms/C/blob/master/data_structures/stack/stack_linked_list/stack.c) + * [Stack](https://github.com/TheAlgorithms/C/blob/master/data_structures/stack/stack_linked_list/stack.h) * Trie - * [Trie](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/data_structures/trie/trie.c) + * [Trie](https://github.com/TheAlgorithms/C/blob/master/data_structures/trie/trie.c) ## Exercism * Acronym - * [Acronym](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/exercism/acronym/acronym.c) - * [Acronym](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/exercism/acronym/acronym.h) + * [Acronym](https://github.com/TheAlgorithms/C/blob/master/exercism/acronym/acronym.c) + * [Acronym](https://github.com/TheAlgorithms/C/blob/master/exercism/acronym/acronym.h) * Hello World - * [Hello World](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/exercism/hello_world/hello_world.c) - * [Hello World](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/exercism/hello_world/hello_world.h) + * [Hello World](https://github.com/TheAlgorithms/C/blob/master/exercism/hello_world/hello_world.c) + * [Hello World](https://github.com/TheAlgorithms/C/blob/master/exercism/hello_world/hello_world.h) * Isogram - * [Isogram](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/exercism/isogram/isogram.c) - * [Isogram](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/exercism/isogram/isogram.h) + * [Isogram](https://github.com/TheAlgorithms/C/blob/master/exercism/isogram/isogram.c) + * [Isogram](https://github.com/TheAlgorithms/C/blob/master/exercism/isogram/isogram.h) * Rna Transcription - * [Rna Transcription](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/exercism/rna_transcription/rna_transcription.c) - * [Rna Transcription](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/exercism/rna_transcription/rna_transcription.h) + * [Rna Transcription](https://github.com/TheAlgorithms/C/blob/master/exercism/rna_transcription/rna_transcription.c) + * [Rna Transcription](https://github.com/TheAlgorithms/C/blob/master/exercism/rna_transcription/rna_transcription.h) * Word Count - * [Word Count](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/exercism/word_count/word_count.c) - * [Word Count](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/exercism/word_count/word_count.h) + * [Word Count](https://github.com/TheAlgorithms/C/blob/master/exercism/word_count/word_count.c) + * [Word Count](https://github.com/TheAlgorithms/C/blob/master/exercism/word_count/word_count.h) ## Greedy Approach - * [Djikstra](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/greedy_approach/djikstra.c) + * [Djikstra](https://github.com/TheAlgorithms/C/blob/master/greedy_approach/djikstra.c) ## Hash - * [Hash](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/hash/hash.c) - * [Hash](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/hash/hash.h) - * [Test Program](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/hash/test_program.c) + * [Hash](https://github.com/TheAlgorithms/C/blob/master/hash/hash.c) + * [Hash](https://github.com/TheAlgorithms/C/blob/master/hash/hash.h) + * [Test Program](https://github.com/TheAlgorithms/C/blob/master/hash/test_program.c) ## Leetcode * Src - * [1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/1.c) - * [101](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/101.c) - * [104](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/104.c) - * [108](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/108.c) - * [1089](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/1089.c) - * [109](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/109.c) - * [11](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/11.c) - * [110](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/110.c) - * [112](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/112.c) - * [1184](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/1184.c) - * [1189](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/1189.c) - * [12](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/12.c) - * [1207](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/1207.c) - * [121](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/121.c) - * [125](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/125.c) - * [13](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/13.c) - * [136](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/136.c) - * [141](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/141.c) - * [142](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/142.c) - * [153](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/153.c) - * [160](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/160.c) - * [169](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/169.c) - * [173](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/173.c) - * [189](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/189.c) - * [190](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/190.c) - * [191](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/191.c) - * [2](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/2.c) - * [20](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/20.c) - * [201](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/201.c) - * [203](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/203.c) - * [206](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/206.c) - * [21](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/21.c) - * [215](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/215.c) - * [217](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/217.c) - * [226](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/226.c) - * [231](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/231.c) - * [234](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/234.c) - * [24](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/24.c) - * [242](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/242.c) - * [26](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/26.c) - * [268](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/268.c) - * [27](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/27.c) - * [278](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/278.c) - * [28](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/28.c) - * [283](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/283.c) - * [287](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/287.c) - * [29](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/29.c) - * [3](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/3.c) - * [344](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/344.c) - * [35](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/35.c) - * [367](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/367.c) - * [38](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/38.c) - * [387](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/387.c) - * [389](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/389.c) - * [4](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/4.c) - * [404](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/404.c) - * [442](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/442.c) - * [461](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/461.c) - * [476](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/476.c) - * [509](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/509.c) - * [520](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/520.c) - * [53](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/53.c) - * [561](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/561.c) - * [617](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/617.c) - * [647](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/647.c) - * [66](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/66.c) - * [674](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/674.c) - * [7](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/7.c) - * [700](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/700.c) - * [701](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/701.c) - * [704](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/704.c) - * [709](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/709.c) - * [771](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/771.c) - * [8](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/8.c) - * [82](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/82.c) - * [83](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/83.c) - * [852](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/852.c) - * [876](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/876.c) - * [9](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/9.c) - * [905](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/905.c) - * [917](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/917.c) - * [938](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/938.c) - * [94](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/94.c) - * [965](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/965.c) - * [977](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/leetcode/src/977.c) + * [1](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/1.c) + * [101](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/101.c) + * [104](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/104.c) + * [108](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/108.c) + * [1089](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/1089.c) + * [109](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/109.c) + * [11](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/11.c) + * [110](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/110.c) + * [112](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/112.c) + * [1184](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/1184.c) + * [1189](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/1189.c) + * [12](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/12.c) + * [1207](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/1207.c) + * [121](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/121.c) + * [125](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/125.c) + * [13](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/13.c) + * [136](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/136.c) + * [141](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/141.c) + * [142](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/142.c) + * [153](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/153.c) + * [160](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/160.c) + * [169](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/169.c) + * [173](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/173.c) + * [189](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/189.c) + * [190](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/190.c) + * [191](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/191.c) + * [2](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/2.c) + * [20](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/20.c) + * [201](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/201.c) + * [203](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/203.c) + * [206](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/206.c) + * [21](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/21.c) + * [215](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/215.c) + * [217](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/217.c) + * [226](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/226.c) + * [231](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/231.c) + * [234](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/234.c) + * [24](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/24.c) + * [242](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/242.c) + * [26](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/26.c) + * [268](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/268.c) + * [27](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/27.c) + * [278](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/278.c) + * [28](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/28.c) + * [283](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/283.c) + * [287](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/287.c) + * [29](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/29.c) + * [3](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/3.c) + * [344](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/344.c) + * [35](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/35.c) + * [367](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/367.c) + * [38](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/38.c) + * [387](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/387.c) + * [389](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/389.c) + * [4](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/4.c) + * [404](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/404.c) + * [442](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/442.c) + * [461](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/461.c) + * [476](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/476.c) + * [509](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/509.c) + * [520](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/520.c) + * [53](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/53.c) + * [561](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/561.c) + * [617](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/617.c) + * [647](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/647.c) + * [66](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/66.c) + * [674](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/674.c) + * [7](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/7.c) + * [700](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/700.c) + * [701](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/701.c) + * [704](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/704.c) + * [709](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/709.c) + * [771](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/771.c) + * [8](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/8.c) + * [82](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/82.c) + * [83](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/83.c) + * [852](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/852.c) + * [876](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/876.c) + * [9](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/9.c) + * [905](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/905.c) + * [917](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/917.c) + * [938](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/938.c) + * [94](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/94.c) + * [965](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/965.c) + * [977](https://github.com/TheAlgorithms/C/blob/master/leetcode/src/977.c) ## Machine Learning - * [Adaline Learning](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/machine_learning/adaline_learning.c) - * [Kohonen Som Topology](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/machine_learning/kohonen_som_topology.c) - * [Kohonen Som Trace](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/machine_learning/kohonen_som_trace.c) + * [Adaline Learning](https://github.com/TheAlgorithms/C/blob/master/machine_learning/adaline_learning.c) + * [Kohonen Som Topology](https://github.com/TheAlgorithms/C/blob/master/machine_learning/kohonen_som_topology.c) + * [Kohonen Som Trace](https://github.com/TheAlgorithms/C/blob/master/machine_learning/kohonen_som_trace.c) ## Misc - * [Armstrong Number](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/armstrong_number.c) - * [Cantor Set](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/cantor_set.c) - * [Cartesian To Polar](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/cartesian_to_polar.c) - * [Catalan](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/catalan.c) - * [Collatz](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/collatz.c) - * [Demonetization](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/demonetization.c) - * [Factorial](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/factorial.c) - * [Factorial Large Number](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/factorial_large_number.c) - * [Factorial Trailing Zeroes](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/factorial_trailing_zeroes.c) - * [Fibonacci](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/fibonacci.c) - * [Fibonacci Dp](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/fibonacci_dp.c) - * [Fibonacci Fast](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/fibonacci_fast.c) - * [Gcd](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/gcd.c) - * [Is Armstrong](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/is_armstrong.c) - * [Large Factorials](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/large_factorials.c) - * [Lcm](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/lcm.c) - * [Lerp](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/lerp.c) - * [Lexicographic Permutations](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/lexicographic_permutations.c) - * [Longest Subsequence](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/longest_subsequence.c) - * [Mirror](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/mirror.c) - * [Palindrome](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/palindrome.c) - * [Pid](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/pid.c) - * [Prime](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/prime.c) - * [Prime Factoriziation](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/prime_factoriziation.c) - * [Quartile](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/quartile.c) - * [Rselect](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/rselect.c) - * [Strong Number](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/strong_number.c) - * [Sudoku Solver](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/sudoku_solver.c) - * [Tower Of Hanoi](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/tower_of_hanoi.c) - * [Union Find](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/union_find.c) + * [Armstrong Number](https://github.com/TheAlgorithms/C/blob/master/misc/armstrong_number.c) + * [Cantor Set](https://github.com/TheAlgorithms/C/blob/master/misc/cantor_set.c) + * [Cartesian To Polar](https://github.com/TheAlgorithms/C/blob/master/misc/cartesian_to_polar.c) + * [Catalan](https://github.com/TheAlgorithms/C/blob/master/misc/catalan.c) + * [Collatz](https://github.com/TheAlgorithms/C/blob/master/misc/collatz.c) + * [Demonetization](https://github.com/TheAlgorithms/C/blob/master/misc/demonetization.c) + * [Factorial](https://github.com/TheAlgorithms/C/blob/master/misc/factorial.c) + * [Factorial Large Number](https://github.com/TheAlgorithms/C/blob/master/misc/factorial_large_number.c) + * [Factorial Trailing Zeroes](https://github.com/TheAlgorithms/C/blob/master/misc/factorial_trailing_zeroes.c) + * [Fibonacci](https://github.com/TheAlgorithms/C/blob/master/misc/fibonacci.c) + * [Fibonacci Dp](https://github.com/TheAlgorithms/C/blob/master/misc/fibonacci_dp.c) + * [Fibonacci Fast](https://github.com/TheAlgorithms/C/blob/master/misc/fibonacci_fast.c) + * [Gcd](https://github.com/TheAlgorithms/C/blob/master/misc/gcd.c) + * [Is Armstrong](https://github.com/TheAlgorithms/C/blob/master/misc/is_armstrong.c) + * [Large Factorials](https://github.com/TheAlgorithms/C/blob/master/misc/large_factorials.c) + * [Lcm](https://github.com/TheAlgorithms/C/blob/master/misc/lcm.c) + * [Lerp](https://github.com/TheAlgorithms/C/blob/master/misc/lerp.c) + * [Lexicographic Permutations](https://github.com/TheAlgorithms/C/blob/master/misc/lexicographic_permutations.c) + * [Longest Subsequence](https://github.com/TheAlgorithms/C/blob/master/misc/longest_subsequence.c) + * [Mirror](https://github.com/TheAlgorithms/C/blob/master/misc/mirror.c) + * [Palindrome](https://github.com/TheAlgorithms/C/blob/master/misc/palindrome.c) + * [Pid](https://github.com/TheAlgorithms/C/blob/master/misc/pid.c) + * [Prime](https://github.com/TheAlgorithms/C/blob/master/misc/prime.c) + * [Prime Factoriziation](https://github.com/TheAlgorithms/C/blob/master/misc/prime_factoriziation.c) + * [Quartile](https://github.com/TheAlgorithms/C/blob/master/misc/quartile.c) + * [Rselect](https://github.com/TheAlgorithms/C/blob/master/misc/rselect.c) + * [Strong Number](https://github.com/TheAlgorithms/C/blob/master/misc/strong_number.c) + * [Sudoku Solver](https://github.com/TheAlgorithms/C/blob/master/misc/sudoku_solver.c) + * [Tower Of Hanoi](https://github.com/TheAlgorithms/C/blob/master/misc/tower_of_hanoi.c) + * [Union Find](https://github.com/TheAlgorithms/C/blob/master/misc/union_find.c) ## Numerical Methods - * [Durand Kerner Roots](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/durand_kerner_roots.c) - * [Gauss Elimination](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/gauss_elimination.c) - * [Gauss Seidel Method](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/gauss_seidel_method.c) - * [Lagrange Theorem](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/lagrange_theorem.c) - * [Lu Decompose](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/lu_decompose.c) - * [Mean](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/mean.c) - * [Median](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/median.c) - * [Newton Raphson Root](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/newton_raphson_root.c) - * [Ode Forward Euler](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/ode_forward_euler.c) - * [Ode Midpoint Euler](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/ode_midpoint_euler.c) - * [Ode Semi Implicit Euler](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/ode_semi_implicit_euler.c) - * [Qr Decompose](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/qr_decompose.h) - * [Qr Decomposition](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/qr_decomposition.c) - * [Qr Eigen Values](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/qr_eigen_values.c) - * [Realtime Stats](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/realtime_stats.c) - * [Simpsons 1 3Rd Rule](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/simpsons_1_3rd_rule.c) - * [Variance](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/numerical_methods/variance.c) + * [Durand Kerner Roots](https://github.com/TheAlgorithms/C/blob/master/numerical_methods/durand_kerner_roots.c) + * [Gauss Elimination](https://github.com/TheAlgorithms/C/blob/master/numerical_methods/gauss_elimination.c) + * [Gauss Seidel Method](https://github.com/TheAlgorithms/C/blob/master/numerical_methods/gauss_seidel_method.c) + * [Lagrange Theorem](https://github.com/TheAlgorithms/C/blob/master/numerical_methods/lagrange_theorem.c) + * [Lu Decompose](https://github.com/TheAlgorithms/C/blob/master/numerical_methods/lu_decompose.c) + * [Mean](https://github.com/TheAlgorithms/C/blob/master/numerical_methods/mean.c) + * [Median](https://github.com/TheAlgorithms/C/blob/master/numerical_methods/median.c) + * [Newton Raphson Root](https://github.com/TheAlgorithms/C/blob/master/numerical_methods/newton_raphson_root.c) + * [Ode Forward Euler](https://github.com/TheAlgorithms/C/blob/master/numerical_methods/ode_forward_euler.c) + * [Ode Midpoint Euler](https://github.com/TheAlgorithms/C/blob/master/numerical_methods/ode_midpoint_euler.c) + * [Ode Semi Implicit Euler](https://github.com/TheAlgorithms/C/blob/master/numerical_methods/ode_semi_implicit_euler.c) + * [Qr Decompose](https://github.com/TheAlgorithms/C/blob/master/numerical_methods/qr_decompose.h) + * [Qr Decomposition](https://github.com/TheAlgorithms/C/blob/master/numerical_methods/qr_decomposition.c) + * [Qr Eigen Values](https://github.com/TheAlgorithms/C/blob/master/numerical_methods/qr_eigen_values.c) + * [Realtime Stats](https://github.com/TheAlgorithms/C/blob/master/numerical_methods/realtime_stats.c) + * [Simpsons 1 3Rd Rule](https://github.com/TheAlgorithms/C/blob/master/numerical_methods/simpsons_1_3rd_rule.c) + * [Variance](https://github.com/TheAlgorithms/C/blob/master/numerical_methods/variance.c) ## Project Euler * Problem 1 - * [Sol1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_1/sol1.c) - * [Sol2](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_1/sol2.c) - * [Sol3](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_1/sol3.c) - * [Sol4](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_1/sol4.c) + * [Sol1](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_1/sol1.c) + * [Sol2](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_1/sol2.c) + * [Sol3](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_1/sol3.c) + * [Sol4](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_1/sol4.c) * Problem 10 - * [Sol1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_10/sol1.c) - * [Sol2](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_10/sol2.c) + * [Sol1](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_10/sol1.c) + * [Sol2](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_10/sol2.c) * Problem 12 - * [Sol1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_12/sol1.c) + * [Sol1](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_12/sol1.c) * Problem 13 - * [Sol1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_13/sol1.c) + * [Sol1](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_13/sol1.c) * Problem 14 - * [Sol1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_14/sol1.c) + * [Sol1](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_14/sol1.c) * Problem 15 - * [Sol1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_15/sol1.c) + * [Sol1](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_15/sol1.c) * Problem 16 - * [Sol1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_16/sol1.c) + * [Sol1](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_16/sol1.c) * Problem 19 - * [Sol1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_19/sol1.c) + * [Sol1](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_19/sol1.c) * Problem 2 - * [So1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_2/so1.c) + * [So1](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_2/so1.c) * Problem 20 - * [Sol1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_20/sol1.c) + * [Sol1](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_20/sol1.c) * Problem 21 - * [Sol1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_21/sol1.c) + * [Sol1](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_21/sol1.c) * Problem 22 - * [Sol1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_22/sol1.c) + * [Sol1](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_22/sol1.c) * Problem 23 - * [Sol1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_23/sol1.c) - * [Sol2](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_23/sol2.c) + * [Sol1](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_23/sol1.c) + * [Sol2](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_23/sol2.c) * Problem 25 - * [Sol1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_25/sol1.c) + * [Sol1](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_25/sol1.c) * Problem 26 - * [Sol1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_26/sol1.c) + * [Sol1](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_26/sol1.c) * Problem 3 - * [Sol1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_3/sol1.c) - * [Sol2](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_3/sol2.c) + * [Sol1](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_3/sol1.c) + * [Sol2](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_3/sol2.c) * Problem 4 - * [Sol](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_4/sol.c) + * [Sol](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_4/sol.c) * Problem 401 - * [Sol1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_401/sol1.c) + * [Sol1](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_401/sol1.c) * Problem 5 - * [Sol](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_5/sol.c) + * [Sol](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_5/sol.c) * Problem 6 - * [Sol](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_6/sol.c) + * [Sol](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_6/sol.c) * Problem 7 - * [Sol](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_7/sol.c) + * [Sol](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_7/sol.c) * Problem 8 - * [Sol1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_8/sol1.c) - * [Sol2](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_8/sol2.c) + * [Sol1](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_8/sol1.c) + * [Sol2](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_8/sol2.c) * Problem 9 - * [Sol1](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_9/sol1.c) - * [Sol2](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/project_euler/problem_9/sol2.c) + * [Sol1](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_9/sol1.c) + * [Sol2](https://github.com/TheAlgorithms/C/blob/master/project_euler/problem_9/sol2.c) ## Searching - * [Binary Search](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/searching/binary_search.c) - * [Fibonacci Search](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/searching/fibonacci_search.c) - * [Interpolation Search](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/searching/interpolation_search.c) - * [Jump Search](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/searching/jump_search.c) - * [Linear Search](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/searching/linear_search.c) - * [Modified Binary Search](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/searching/modified_binary_search.c) - * [Other Binary Search](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/searching/other_binary_search.c) + * [Binary Search](https://github.com/TheAlgorithms/C/blob/master/searching/binary_search.c) + * [Fibonacci Search](https://github.com/TheAlgorithms/C/blob/master/searching/fibonacci_search.c) + * [Interpolation Search](https://github.com/TheAlgorithms/C/blob/master/searching/interpolation_search.c) + * [Jump Search](https://github.com/TheAlgorithms/C/blob/master/searching/jump_search.c) + * [Linear Search](https://github.com/TheAlgorithms/C/blob/master/searching/linear_search.c) + * [Modified Binary Search](https://github.com/TheAlgorithms/C/blob/master/searching/modified_binary_search.c) + * [Other Binary Search](https://github.com/TheAlgorithms/C/blob/master/searching/other_binary_search.c) * Pattern Search - * [Boyer Moore Search](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/searching/pattern_search/boyer_moore_search.c) - * [Naive Search](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/searching/pattern_search/naive_search.c) - * [Rabin Karp Search](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/searching/pattern_search/rabin_karp_search.c) - * [Ternary Search](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/searching/ternary_search.c) + * [Boyer Moore Search](https://github.com/TheAlgorithms/C/blob/master/searching/pattern_search/boyer_moore_search.c) + * [Naive Search](https://github.com/TheAlgorithms/C/blob/master/searching/pattern_search/naive_search.c) + * [Rabin Karp Search](https://github.com/TheAlgorithms/C/blob/master/searching/pattern_search/rabin_karp_search.c) + * [Ternary Search](https://github.com/TheAlgorithms/C/blob/master/searching/ternary_search.c) ## Sorting - * [Bead Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/bead_sort.c) - * [Binary Insertion Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/binary_insertion_sort.c) - * [Bogo Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/bogo_sort.c) - * [Bubble Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/bubble_sort.c) - * [Bubble Sort 2](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/bubble_sort_2.c) - * [Bucket Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/bucket_sort.c) - * [Cocktail Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/cocktail_sort.c) - * [Comb Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/comb_sort.c) - * [Counting Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/counting_sort.c) - * [Cycle Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/cycle_sort.c) - * [Gnome Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/gnome_sort.c) - * [Heap Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/heap_sort.c) - * [Insertion Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/insertion_sort.c) - * [Merge Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/merge_sort.c) - * [Merge Sort Nr](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/merge_sort_nr.c) - * [Multikey Quick Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/multikey_quick_sort.c) - * [Pancake Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/pancake_sort.c) - * [Partition Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/partition_sort.c) - * [Pigeonhole Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/pigeonhole_sort.c) - * [Quick Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/quick_sort.c) - * [Radix Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/radix_sort.c) - * [Radix Sort 2](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/radix_sort_2.c) - * [Random Quick Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/random_quick_sort.c) - * [Selection Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/selection_sort.c) - * [Shaker Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/shaker_sort.c) - * [Shell Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/shell_sort.c) - * [Shell Sort2](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/shell_sort2.c) - * [Stooge Sort](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/sorting/stooge_sort.c) + * [Bead Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/bead_sort.c) + * [Binary Insertion Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/binary_insertion_sort.c) + * [Bogo Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/bogo_sort.c) + * [Bubble Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/bubble_sort.c) + * [Bubble Sort 2](https://github.com/TheAlgorithms/C/blob/master/sorting/bubble_sort_2.c) + * [Bucket Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/bucket_sort.c) + * [Cocktail Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/cocktail_sort.c) + * [Comb Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/comb_sort.c) + * [Counting Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/counting_sort.c) + * [Cycle Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/cycle_sort.c) + * [Gnome Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/gnome_sort.c) + * [Heap Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/heap_sort.c) + * [Insertion Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/insertion_sort.c) + * [Merge Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/merge_sort.c) + * [Merge Sort Nr](https://github.com/TheAlgorithms/C/blob/master/sorting/merge_sort_nr.c) + * [Multikey Quick Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/multikey_quick_sort.c) + * [Pancake Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/pancake_sort.c) + * [Partition Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/partition_sort.c) + * [Pigeonhole Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/pigeonhole_sort.c) + * [Quick Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/quick_sort.c) + * [Radix Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/radix_sort.c) + * [Radix Sort 2](https://github.com/TheAlgorithms/C/blob/master/sorting/radix_sort_2.c) + * [Random Quick Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/random_quick_sort.c) + * [Selection Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/selection_sort.c) + * [Shaker Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/shaker_sort.c) + * [Shell Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/shell_sort.c) + * [Shell Sort2](https://github.com/TheAlgorithms/C/blob/master/sorting/shell_sort2.c) + * [Stooge Sort](https://github.com/TheAlgorithms/C/blob/master/sorting/stooge_sort.c)