Kumar-laxmi / Algorithms

A Repository for algorithms in C, C++, Python and Java
Apache License 2.0
310 stars 372 forks source link
algorithm algorithms c cpp hacktoberfest java python ssoc2023 swoc2023

A repository for all Algorithms





GitHub repo size GitHub repo file count [![GitHub issues](https://img.shields.io/github/issues/Kumar-laxmi/Algorithms?style=plastic&color=critical)](https://github.com/Kumar-laxmi/Algorithms/issues) [![GitHub pull requests](https://img.shields.io/github/issues-pr/Kumar-laxmi/Algorithms?style=plastic)](https://github.com/Kumar-laxmi/Algorithms/pulls) [![GitHub](https://img.shields.io/github/license/Kumar-laxmi/Algorithms?style=plastic)](https://github.com/Kumar-laxmi/Algorithms/blob/master/LICENSE) [![GitHub forks](https://img.shields.io/github/forks/Kumar-laxmi/Algorithms?color=ff69b4&style=plastic)](https://github.com/Kumar-laxmi/Algorithms/forks) [![GitHub Repo stars](https://img.shields.io/github/stars/Kumar-laxmi/Algorithms?style=social)](https://github.com/Kumar-laxmi/Algorithms/stargazers)

Tech Stacks





Programs we have been a part of

| No. | Program Name | Duration | Deployment | | --- | ------------------------------------------------------------------------- | ---------------------------- | ------------------------------------------------------ | | 1. | Hacktoberfest (2022) | 1st Oct 2022 - 31st Oct 2022 | Algorithm | | 2. | Social Winter of Code (2023) | 1st Jan 2023 - 15th Mar 2023 | Algorithm | | 3. | Social Summer of Code (2023) | 1st June 2023 - 31st July 2023 | Algorithm | | 4. | Hacktoberfest (2023) | 1st Oct 2023 - 31st Oct 2023 | Algorithm |


Available Resources

- The resources are categorized based on programming language. One folder for one programming language - Each folder has different subfolders. The subfolder represents the category algorithm belongs to - Each subfolder has different files. Filename represents the name of the algorithm

Arrays

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Diagonal Print Algorithm in 2D Array | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/arrays/Diagonal_Printing_in_2D_arrays.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/arrays/Diagonal_Printing_in_2D_arrays.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/arrays/Diagonal_Printing_in_2D_arrays.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/arrays/Diagonal_Printing_in_2D_arrays.py) | | 2. | Fisher-Yates Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/arrays/Fisher_Yates_Shuffle_Algorithm.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/arrays/Fisher_Yates_Shuffle_Algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/arrays/FisherYatesShuffle.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/arrays/Fisher_Yates_Shuffle_Algorithm.py) | | 3. | Monotonic Array | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/arrays/monotonic_array.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/arrays/monotonic_array.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/arrays/monotonic_array.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/arrays/monotonic_array.py) | | 4. | Spiral Print Matrix | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/arrays/spiralprint.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/arrays/spiralPrint.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/arrays/spiralPrint.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/arrays/Spiral_Print_Algorithm.py) |

Artificial Intelligence

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | A* Search Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Artificial%20Intelligence/A_star.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Artificial%20Intelligence/A_Star.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Artificial%20Intelligence/A_star.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Artificial%20Intelligence/A_star.py) |

Binary

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Binary <-> Gray Code Conversion | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Binary/Binary%20to%20Gray%20Conversion.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Binary/Binary%20to%20gray%20conversion.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Binary/BinarytoGray.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Binary/Binary%20to%20Gray%20conversion.py) | | 2. | Brian Kerningham's Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Binary/Brain_Keringham.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Binary/Brain_Keringham.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Binary/Brain_Keringham.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Binary/Brain_Keringham.py) | | 3. | Hamming Code | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Binary/hammingCode.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Binary/hammingCode.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Binary/hammingCode.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Binary/hammingCode.py) | | 4. | Hamming Distance Theorem | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Binary/hammingDistance.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Binary/hammingDistance.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Binary/hammingDistance.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Binary/hammingDistance.py) |

Cryptography

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Affine Cipher | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Cryptography/Affine_Cipher.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Cryptography/Affine_Cipher.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Cryptography/Affine_Cipher.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Cryptography/Affine_Cipher.py) | | 2. | Caesar Cipher | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Cryptography/CaesarCipher.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Cryptography/CaeserCipher.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Cryptography/CaesarCipher.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Cryptography/CaesarCipher.py) | | 3. | Columnar Transposition Cipher | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Cryptography/ColumnarTranspositionCipher.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Cryptography/ColumnarTranspositionCipher.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Cryptography/ColumnarTranspositionCipher.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Cryptography/ColumnarTranspositionCipher.py) | | 4. | Diffie - Hellman Algorithm | [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Cryptography/DiffieHellman.py) | | 5. | Elgamal Cryptosystem | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Cryptography/Elgamal.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Cryptography/Elgamal.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Cryptography/Elgamal.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Cryptography/Elgamal.py) | | 6. | Hill Cipher | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Cryptography/Hill_Cipher.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Cryptography/HillCipher.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Cryptography/HillCipher.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Cryptography/HillCipher.py) | | 7. | Homophonic Substitution | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Cryptography/homophonic_substitution.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Cryptography/homophonic_substitution.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Cryptography/HomophonicSubstitution.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Cryptography/homophonic_Substitution.py) | | 8. | Morse Code | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Cryptography/MorseCodeConvortor.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Cryptography/MorseCodeConvotor.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Cryptography/MorseCodeConverter.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Cryptography/MorseCodeConvortor.py) | | 9. | Playfair Cipher | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Cryptography/playfair_cipher.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Cryptography/playfair_cipher.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Cryptography/PlayfairCipher.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Cryptography/playfair_cipher.py) | | 10. | Railfence Cipher | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Cryptography/Railfence.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Cryptography/Railfence.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Cryptography/Rail_Fence_Cipher.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Cryptography/railfenceCipher.py) | | 11. | RSA | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Cryptography/RSA_Algo.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Cryptography/RSA_Algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Cryptography/RSA_Algorithm.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Cryptography/rsa.py) | | 12. | SHA - 256 | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Cryptography/SHA256.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Cryptography/SHA256.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Cryptography/SHA256.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Cryptography/SHA256.py) | | 13. | Vernam Cipher | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Cryptography/VernamCipher.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Cryptography/VernamCipher.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Cryptography/VernamCipher.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Cryptography/VernamCipher.py) | | 14. | Vignere Cipher | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Cryptography/Vigen%C3%A8reCipher.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Cryptography/Vigen%C3%A8reCipher.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Cryptography/vigenere_cipher.py) |

Concurrent Programming

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Peterson's Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Concurrent%20Algorithms/peterson_algo.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Concurrent%20Algorithms/peterson_algo.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Concurrent%20Algorithms/peterson_algo.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Concurrent%20Algorithms/peterson_algo.py) |

Data Compression

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Burrows-Wheeler Transform Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Data%20Compression/burrow_wheeler_transform.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Data%20Compression/burrow_wheeler_transform.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Data-Compression/burrow_wheeler_transform.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Data%20Compression/burrow_wheeler_transform.py) | | 2. | Huffman Coding | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Data%20Compression/huffmanCoding.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Data%20Compression/huffmanCoding.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Data-Compression/Huffman.java),[Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Data%20Compression/huffmanCoding.py) | | 3. | LZ78 Compression | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Data%20Compression/LZ78.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C++/Data%20Compression/LZ78.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Data-Compression/LZ78.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Data%20Compression/LZ78.py) |

Deadlock Avoidance

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Banker's Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Deadlock%20Avoidance/bankers.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Deadlock%20Avoidance/BankerAlgorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Deadlock%20Avoidance/Bankers_Algorithm.java),[Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Deadlock%20Avoidance/bankers_algorithm.py) |

Deep Learning

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Perceptron Learning - Boolean Functions | [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Deep%20learning/perceptron_learning.py) |

Divide and Conquer

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Karatsuba Algorithm | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Divide-and-Conquer/karatsuba.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Divide-and-Conquer/KaratsubaAlgo.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Divide-and-Conquer/Karatsuba.py) | | 2. | N-Queen's Problem | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Divide-and-Conquer/N_Queen.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Divide-and-Conquer/N_Queen.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Divide-and-Conquer/N_Queen.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Divide-and-Conquer/N_Queen.py) | | 3. | Strassen's Matrix Multiplication | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Divide-and-Conquer/Strassens.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Divide-and-Conquer/strassen_matrix_multiplication.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Divide-and-Conquer/strassen_matrix_multiplication.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Divide-and-Conquer/strassen_matrix_multiplication.py) |

Dynamic Programming

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | 0/1 Knapsack | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Dynamic-Programming/01_knapsack.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Dynamic-Programming/01_knapsack.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Dynamic-Programming/_01_knapsack.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Dynamic-Programming/01_knapsack.py) | | 2. | Coin change problem | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Dynamic-Programming/coinchange.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Dynamic-Programming/coinchange.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Dynamic-Programming/coinchange.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Dynamic-Programming/coinchange.py) | | 3. | Edit Distance | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Dynamic-Programming/edit_distance.cpp) | | 4. | Fibonacci Number | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Dynamic-Programming/Fibonacci_Number.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Dynamic-Programming/Fibonacci_Number.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Dynamic-Programming/Fibonacci_Number.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Dynamic-Programming/Fibonacci_Number.py) | | 5. | Hierholzer Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Graphs/Hierholzer_Algorithm.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Graphs/Hierholzer_Algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Graphs/Hierholzer_Algorithm.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Graphs/Hierholzer_Algorithm.py) | | 6. | Longest Common Subsequence | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Dynamic-Programming/Longest_Common_Subsequence.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Dynamic-Programming/LongestCommonSubsequence.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Dynamic-Programming/LongestCommonSubsequence.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Dynamic-Programming/Longest_Common_Subsequence.py) | | 7. | Matrix Chain Multiplication | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Dynamic-Programming/MatrixChainMultiplication.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Dynamic-Programming/Matrix_Chain_Multiplication.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Dynamic-Programming/MatrixChainMultiplication.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Dynamic-Programming/MatrixChainMultiplication.py) | | 8. | Minimum Jump Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Dynamic-Programming/Min_Jump.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Dynamic-Programming/Min_Jump.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Dynamic-Programming/Min_Jump.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Dynamic-Programming/Min_Jump.py) | | 9. | Minimum Sum Partition Problem | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Dynamic-Programming/minimum_sum_partition.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Dynamic-Programming/minimum_sum_partition.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Dynamic-Programming/minimum_sum_partition.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Dynamic-Programming/minimum_sum_partition.py) | | 10. | Partition problem | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Dynamic-Programming/Partition_Problem.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Dynamic-Programming/PartitionProblem.java) | | 11. | Shortest Common Supersequence Problem | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Dynamic-Programming/Shortest%20Common%20Supersequence%20Problem.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Dynamic-Programming/Shortest%20Common%20Supersequence%20Problem.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Dynamic-Programming/Shortest_Common_Supersequence_Problem.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Dynamic-Programming/Shortest%20Common%20Supersequence%20Problem.py) | | 12. | Travelling Salesman Problem | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Dynamic-Programming/Travelling_Salesman.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Dynamic-Programming/TravellingSalesMen.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Dynamic-Programming/TravellingSalesMan.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Dynamic-Programming/TravellingSalesMan.py) |

Game Theory

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Grundy's Number | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Game%20Theory/Grundy_Numbers.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Game%20Theory/Grundy_Numbers.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Game%20Theory/Grundy_Numbers.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Game%20Theory/Grundy_Numbers.py) |

Graphics

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Scanline Algorithm | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Graphics/Scanline_algorithm.cpp), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Graphics/Scanline-algo.py) |

Graphs

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Bellman Ford | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Graphs/Bellman_Form_Algorithm.cpp) | | 2. | Breadth First Search(BFS) | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Graphs/BreadthFirstSearch.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Graphs/BreadthFirstSearch.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Graphs/BreadthFirstSearch.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Graphs/BreadthFirstSearch.py) | | 3. | Dial’s Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Graphs/dial_algorithm.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Graphs/dial_algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Graphs/dial_algorithm.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Graphs/dial_algorithm.py) | | 4. | Dijkstra | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Graphs/Dijkstra.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Graphs/Dijkstra.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Graphs/Dijkstra.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Graphs/Dijkstra.py) | | 5. | Dinic's Algorithm | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Graphs/Dinic.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Graphs/Dinic.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Graphs/Dinic.py) | | 6. | Disjoint Set Union | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Graphs/DisjointSetUnion.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Graphs/DisjoinSetUnion.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Graphs/DisjointSetUnion.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Graphs/DisjointSetUnion.py) | | 7. | Edmonds-karp Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Graphs/Edmonds-Karp_Algorithm.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Graphs/Edmonds-Karp_Algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Graphs/EdmondsKarpAlgorithm.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Graphs/Edmonds-Karp_Algorithm.py) | | 8. | Fleury's Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Graphs/Fleury_Algorithm.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Graphs/Fleury_Algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Graphs/Fleury_Algorithm.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Graphs/Fleury_Algorithm.py) | | 9. | Floyd Warshall | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Graphs/floyd_warshall.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Graphs/floyd_warshall.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Graphs/floyd_warshall.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Graphs/floyd_warshall.py) | | 10. | Ford-Fulkerson Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Graphs/FordFulkerson.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Graphs/Ford-Fulkerson_Algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Graphs/FordFulkerson.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Graphs/Ford-Fulkerson_Algorithm.py) | | 11. | Hamiltonian Path | [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Graphs/Hamiltonian_path.java) | | 12. | Hopcroft-Karp Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Graphs/Hopcroft-Karp%20algorithm.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Graphs/Hopcroft-Karp%20algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Graphs/Hopcroft-Karp.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Graphs/Hopcroft-Karp%20algorithm.py) | | 13. | Kosaraju's Algorithm | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Graphs/Kosaraju_Algorithm.cpp) | | 14. | Kruskal's Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Graphs/Kruskals.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Graphs/Kruskals.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Graphs/Kruskals.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Graphs/Kruskals.py) | | 15. | Multi Source Shortest Path | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Graphs/Multisource_Shortest_Path.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Graphs/Multisource_Shortest_Path.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Graphs/Multisource_Shortest_Path.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Graphs/MultiSource_Shortest_Path.py) | | 16. | Multistage Graph (Shortest Path) | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Graphs/multistage_graph.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Graphs/multistage_graph.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Graphs/MultistageGraph.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Graphs/multistage_graph.py) | | 17. | Prim's Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Graphs/Prims.c), [C++](https://github.com/Kumr-laxmi/Algorithms/blob/main/C%2B%2B/Graphs/Prims_Algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Graphs/Prims.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Graphs/prims_algorithm.py) | | 18. | Stoer Wagner Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Graphs/StoerWagner.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Graphs/StoerWagner.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Graphs/StoerWagner.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Graphs/StoerWagner.py) | | 19. | Tarjan Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Graphs/Tarjan.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Graphs/Tarjan_Algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Graphs/Tarjan.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Graphs/Tarjan.py) |

Greedy Algorithm

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Activity Selection | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Greedy-Algorithm/ActivitySelection.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Greedy-Algorithm/Activity_process.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Greedy-Algorithm/ActivitySelection.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Greedy-Algorithm/Activity_Selection.py) | | 2. | Egyptian Fraction | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Greedy-Algorithm/Egyptian_Fraction.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Greedy-Algorithm/Egyptian_Fraction.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Greedy-Algorithm/Egyptian_Fraction.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Greedy-Algorithm/Egyptian_Fraction.py) | | 3. | Fractional Knapsack | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Greedy-Algorithm/fractional_knapsack.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Greedy-Algorithm/fractional_knapsack.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Greedy-Algorithm/FractionalKnapsack.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Greedy-Algorithm/fractional_knapsack.py) | | 4. | Job Sequencing | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Greedy-Algorithm/JobSequencing.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Greedy-Algorithm/JobSequencing.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Greedy-Algorithm/Job_Sequencing.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Greedy-Algorithm/job_sequencing.py) | | 5. | Merge Interval Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Greedy-Algorithm/Merge_Interval.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Greedy-Algorithm/Merge_Interval.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Greedy-Algorithm/Merge_Interval.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Greedy-Algorithm/Merge_Interval.py) | | 6. | Optimal Merge Pattern | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Greedy-Algorithm/Optimal_Merge_Pattern.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Greedy-Algorithm/Optimal_merge_Pattern.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Greedy-Algorithm/Optimal_Merge_Pattern.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Greedy-Algorithm/Optimal_Merge_pattern.py) |

Hashing

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Bloom-Filter Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Hashing/bloom_filter.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Hashing/bloom_filter.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Hashing/BloomFilter.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Hashing/bloom_filter.py) | | 2. | Cuckoo Hashing | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Hashing/cuckoo_hashing.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Hashing/cuckoo_hashing.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Hashing/cuckoo_hashing.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Hashing/cuckoo_hashing.py) |

Image Processing

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Canny Edge Detection | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Image%20Processing/Canny%20Edge%20Detection%20Algorithm/cannyEdgeDetection.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Image%20Processing/Canny%20Edge%20Detection%20Algorithm/cannyEdgeDetection.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Image%20Processing/Canny%20Edge%20Detection%20Algorithm/cannyEdgeDetection.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Image%20Processing/Canny%20Edge%20Detection%20Algorithm/cannyEdgeDetection.py) |

Job Scheduling

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | First Come First Serve | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Job%20Scheduling/First_Come_First_Serve.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Job%20Scheduling/First_Come_First_Serve.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Job%20Scheduling/First_Come_First_Serve.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Job%20Scheduling/First_Come_First_Serve.py) | | 2. | Highest Response Ratio Next | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Job%20Scheduling/Highest_Response_Ratio_Next.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Job%20Scheduling/Highest_Response_Ratio_Next.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Job%20Scheduling/Highest_Response_Ratio_Next.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Job%20Scheduling/Highest_Response_Ratio_Next.py) | | 3. | Priority Scheduling | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Job%20Scheduling/priority_scheduling.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Job%20Scheduling/priority_scheduling.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Job%20Scheduling/priority_scheduling.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Job%20Scheduling/priority_scheduling.py) | | 4. | Round Robin Scheduling | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Job%20Scheduling/RoundRobin.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Job%20Scheduling/RoundRobin.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Job%20Scheduling/RoundRobin.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Job%20Scheduling/RoundRobin.py) | | 5. | Shortest Job First | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Job%20Scheduling/Shortest_Job_First.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Job%20Scheduling/Shortest_Job_First.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Job%20Scheduling/Shortest_Job_First.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Job%20Scheduling/Shortest_Job_First.py) |

Linked List

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Addition of two Linked Lists | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Linked-List/AdditionOfTwoNumbersLL.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Linked-List/Add%20Two%20Numbers.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Linked-List/AdditionOfTwoNumbersinLL.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Linked-List/AdditionOfTwoNumbersLL.py) | | 2. | Circular Linked List | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Linked-List/Circular%20Linked%20List.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Linked-List/CircularLinkedList.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Linked-List/CircularLinkedList.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Linked-List/circular_linked_list.py) | | 3. | Detect loop in a Linked List | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Linked-List/Detect%20Loop%20in%20Linked%20List.cpp) | | 4. | Doubly Linked List | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Linked-List/DoublyLinkedList.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Linked-List/DoublyLinkedList.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Linked-List/DoubleLinkedList.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Linked-List/doubly_linked_list.py) | | 5. | Intersection of two Linked Lists | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Linked-List/IntersectionOfLinkedList.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Linked-List/IntersectonOfTwoLinkedList.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Linked-List/LinkedListIntersection.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Linked-List/IntersectionOfLinkedList.py) | | 6. | Length of Linked List | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Linked-List/linklist_length.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Linked-List/linklist_length.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Linked-List/linklist_length.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Linked-List/linklist_length.py) | | 7. | LRU Cache Design | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Linked-List/LRUCacheDesign.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Linked-List/LRUCacheDesign.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Linked-List/LRUCacheDesign.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Linked-List/LRUCacheDesign.py) | | 8. | Merge Two Sorted Linked List | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Linked-List/mergetwosortedll.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Linked-List/MergeTwoSortedll.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Linked-List/mergeTwoSortedLL.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Linked-List/mergeTwoSortedLL.py) | | 9. | Merge K Sorted Linked List | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Linked-List/MergeKSortedList.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Linked-List/MergeKSortedList.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Linked-List/MergeKSortedLists.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Linked-List/MergeKSortedLists.py) | | 10. | Palindrome Linked List | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Linked-List/palindrome.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Linked-List/palindrome.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Linked-List/LinkedListPalindrome.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Linked-List/palindrome.py) | | 11. | Reverse Linked List | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Linked-List/Reverse%20a%20singly%20linked%20list.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Linked-List/Reverse%20a%20singly%20linked%20list.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Linked-List/Reverselinkedlist.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Linked-List/Reverse%20a%20singly%20linked%20list.py) | | 12. | Reverse Linked List in a Group of K | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Linked-List/Reverse%20in%20group%20of%20K.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Linked-List/Reverse%20in%20group%20of%20K.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Linked-List/Reverse_in_group_of_K.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Linked-List/Reverse%20in%20group%20of%20K.py) | | 13. | Singly Linked List | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Linked-List/SinglyLinkedList.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Linked-List/SinglyLinkedList.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Linked-List/Singly%20Linked%20List.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Linked-List/SinglyLinkedList.py) | | 14. | Sorting Linked List | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Linked-List/MergeSortLinkedList.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Linked-List/MergeSortLinkedList.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Linked-List/MergeSortLinkedList.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Linked-List/MergeSortLinkedList.py) |

Machine Learning

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Decision Tree | [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Machine%20Learning/Decision%20Tree/decision_tree.py) | | 2. | Feed-Forward Neural Network | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Machine-Learning/FeedFwdNN.cpp) | | 3. | K-Means Clusters | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Machine%20Learning/Kmeans.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Machine-Learning/%20K-nearest-neighbour-algo.cpp), [Python](https://github.com/Kumar-laxmi/Algorithms/tree/main/Python/Machine%20Learning/K%20Means%20Clustering) | | 4. | K-Nearest Neighbours | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Machine%20Learning/KNN.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Machine-Learning/%20K-nearest-neighbour-algo.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Machine%20Learning/KNN.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Machine%20Learning/knn.py) | | 5. | Linear Regression | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Machine%20Learning/linearregression.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Machine-Learning/linearReg.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Machine%20Learning/Linear_Regression.java), [Python](https://github.com/Kumar-laxmi/Algorithms/tree/main/Python/Machine%20Learning/Linear-Regression) | | 6. | Logistic Regression | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Machine%20Learning/LogisticRegression.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Machine-Learning/LogisticRegression.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Machine%20Learning/LogisticRegression.java), [Python](https://github.com/Kumar-laxmi/Algorithms/tree/main/Python/Machine%20Learning/Logistic-Regression) | | 7. | Naive Bayes | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Machine-Learning/NaiveBayesClassifier.cpp), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Machine%20Learning/Naive%20Bayes%20Classifier/NaiveBayesClassifier.py) |

Maths

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Armstrong Numbers | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/armstrong.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/armstrong.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/armstrong.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/armstrong.py) | | 2. | Binary Exponentiation | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/Binary_expo.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Binary%20Exponentiation%20Algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/Binary_Exponentiation.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/Binary_expo.py) | | 3. | Binomial Theorem | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/BinomialTheorem.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/BinomialTheorem.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/BinomialTheroem.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/BinomialTheorem.py) | | 4. | Bennett's Formula | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/Binet-Formula-for-Fibonacci-Sequence.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Binet-Formula-for-Fibonacci-Sequence.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/Binet_Formula.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/Binet-Formula-for-Fibonacci-Sequence.py) | | 5. | Bentley-Ottmann Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/Bentley_Ottmann_Algorithm.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Bentley_Ottmann_Algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/Bentley_Ottmann_Algorithm.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/Bentley_Ottmann_Algorithm.py) | | 6. | Bisection Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/bisection.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/bisection.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/bisection.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/bisection.py) | | 7. | Chinese Remainder Theorem | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/Chinese_reaminder.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Chinese_remainder.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/Chinese_remainder.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/Chinese_remainder.py) | | 8. | Chudnovsky Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/Chudnovsky.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Chudnovsky.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/Chudnovsky.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/Chudnovsky.py) | | 9. | Closures of Relations | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/closures.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/closures.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/closures.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/closures.py) | | 10. | Congruency of Triangle | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/CongruencyOfTriangles.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/CongruencyOfTriangles.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/CongruencyOfTriangles.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/CongruencyOfTriangles.py) | | 11. | Decimal <-> Binary Converter | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/binary_to_decimal_%26_decimal_to_binary.cffv), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/DeciToBinary_BinaryToDeci.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/DeciToBinary_BinaryToDeci.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/bin_to_dec_%26_dec_to_bin.py) | | 12. | Extended Euclidean Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/Extended_Eucledian_Algorithm.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Extended_Eucledian_Algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/Extended_Euclidean_Algorithm.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/Extended_Euclidean_Algorithm.py) | | 13. | Euler's Totient Function | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/eulers_totient_function.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Eulers_totient_function.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/Eulers_totient_function.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/Eulers_totient_function.py) | | 14. | Factorial of Number | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/factorial.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/factorial.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/factorial.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/factorial.py) | | 15. | Factors | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/factors.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/factors.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/factors.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/factors.py) | | 16. | Frievald's Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/freivald.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/freivald.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/freivald.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/freivald.py) | | 17. | GCD & LCM | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/GCD%20and%20LCM.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/GCD%20and%20LCM.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/GCD_and_LCM.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/GCD%20and%20LCM.py) | | 18. | Heron's Formula | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/heronsFormula.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/heronsFormula.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/heronsFormula.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/heronsFormula.py) | | 19. | Interquartile Ranges | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/Interquartile_range.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Interquartile_range.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/Interquartile_range.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/Interquartile_range.py) | | 20. | Josephus Problem | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/josephus.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Josephus.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/josephus.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/josephus.py) | | 21. | Klee's Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/segmentUnionLength.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/segmentUnionLength.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/segmentUnionLength.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/segmentUnionLength.py) | | 22. | Lucas Lehmer Series | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/Lucas_Lehmer_Series.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Lucas_Lehmer_Series.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/Lucas_Lehmer_Series.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/Lucas_Lehmer_Series.py) | | 23. | Luhn's Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/Luhn%20algorithm.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Luhn%20algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/LuhnAlgorithm.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/Luhn%20algorithm.py) | | 24. | Manhattan Distance | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/Manhattan_distance.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Manhattan_distance.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/Manhattan_distance.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/Manhattan_distance.py) | | 25. | Modular Exponentiation | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/ModularExponentiation.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Modular_exponentiation.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/ModularExponentiation.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/ModularExponentiation.py) | | 26. | Pascal's Triangle | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/Pascal_Triangle.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Pascal_Triangle.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/Pascal_Triangle.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/Pascal_Triangle.py) | | 27. | Perfect Number | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/perfect.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/perfect.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/PerfectNumber.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/perfect.py) | | 28. | Power-set of Elements | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/Power_Set.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Power_Set.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/PowerSet.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/Power_Set.py) | | 29. | Prefix-Postfix-Infix Interconversion | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Infix_Postfix_Prefix_Interconversion.cpp), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/prefix_infix_postfix_interconversion.py) | | 30. | Prime Number | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/is_prime.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/is_prime.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/is_prime.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/is_prime.py) | | 31. | Quickhull Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/QuickHull%20Algorithm.c) ,[C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/QuickHull%20Algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/QuickHull_Algorithm.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/QuickHull%20Algorithm.py) | | 32. | Reverse Integer | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/Reverse%20Integer.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Reverse_integer.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/ReverseInteger.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/reverse_integer.py) | | 33. | Roman to Decimal converter | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/Roman_to_Decimal.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Roman_to_Decimal.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/Roman_to_Decimal.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/Roman_to_Decimal.py) | | 34. | Russian Peasant Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/RussianPeasant.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/RussianPeasant.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/RussianPeasant.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/RussianPeasant.py) | | 35. | Shri Dharayacharya Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/shriDharacharya.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/shriDharacharya.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/ShriDharacharya.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/ShriDharacharya.py) | | 36. | Sieve Eratosthenes Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/sieveOfEratosthenes.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Sieve%20of%20Eratosthenes%20Algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/Sieve_erastonetihis.java),[Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/sieve_of_eratosthenes.py) | | 37. | Similar Triangles | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/SimilarTriangles.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/SimilarTriangles.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/SimilarTriangles.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/SimilarTriangles.py) | | 38. | Strong Number | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/Strong_Number.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/Strong_Number.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/Strong_Number.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/Strong_Numbers.py) | | 39. | Sudoku Solver | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/sudoku.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/sudoku.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/sudoku.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/sudoku.py) | | 40. | Zeller's Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Maths/zeller.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Maths/zeller.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Maths/zeller.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Maths/zeller.py) |

Memory Allocation

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Best Fit Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Memory%20Allocation/Best_Fit_Fixed_Memory.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Memory%20Allocation/Best_Fit_Fixed_Memory.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Memory%20Allocation/BestFitFixedMemory.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Memory%20Allocation/BestFitFixedMemory.py) | | 2. | Next Fit Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Memory%20Allocation/Next_Fit_Fixed_Memory.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Memory%20Allocation/Next_Fit_Fixed_Memory.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Memory%20Allocation/NextFitFixedMemory.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Memory%20Allocation/NextFitFixedMemory.py) | | 3. | Worst Fit Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Memory%20Allocation/Worst_Fit_Fixed_memory_blocks.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Memory%20Allocation/Worst_Fit_Fixed_Memory.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Memory%20Allocation/WorstFitFixedMemory.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Memory%20Allocation/WorstFitFixedMemory.py) |

Optimization

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Ant Colony Optimization | [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Optimization/aco_optimization_py.py) | | 2. | Genetic Algorithm | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Optimization/genetic.cpp), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Optimization/genetic.py) | | 3. | Gradient Descent | [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Optimization/Gradient_Descent.py) | | 4. | Grey Wolf Optimization | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Optimization/greywolf.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Optimization/greywolf.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Optimization/grey_wolf.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Optimization/greywolf.py) | | 5. | Hill Climbing Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Optimization/Hill_climbing.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Optimization/Hill_climbing.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Optimization/Hill_climbing.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Optimization/Hill_climbing.py) | | 6. | Particle Swarm Optimization | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Optimization/particle_swarm_optimization.cpp), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Optimization/particle_swarm_optimization.py) | | 7. | Shuffled Frog Leaping Algorithm | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Optimization/shuffled_frog_leaping_optimization.cpp), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Optimization/shuffled_frog_leaping_optimization.py) | | 8. | Simulated Annealing | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Optimization/simulated_annealing.cpp), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Optimization/simulated_annealing.py) |

Pattern Matching

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Aho-Corasick Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Pattern-Matching/AhoCorasickAlgorithm.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Pattern-Matching/AhoCorasickAlgorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Pattern-Matching/AhoCorasickAlgorithm.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Pattern-Matching/AhoCorasickAlgorithm.py) | | 2. | Boyer Moore Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Pattern-Matching/Boyer-moore.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Pattern-Matching/Boyer-moore.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Pattern-Matching/Boyer_moore.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Pattern-Matching/Boyer-moore.py) | | 3. | KMP Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Pattern-Matching/KMP%20Algorithm.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Pattern-Matching/KMP_Algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Pattern-Matching/KmpAlgo.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Pattern-Matching/kmp_string_matching.py) | | 4. | Rabin Karp | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Pattern-Matching/RabinKarpAlgo.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Pattern-Matching/rabin_karp.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Pattern-Matching/RabinKarp.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Pattern-Matching/rabin_karp.py) | | 5. | Z - Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Pattern-Matching/Z_Algorithm.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Pattern-Matching/Z_Algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Pattern-Matching/Z_Algorithm.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Pattern-Matching/Z_Algorithm.py) |

Recursion

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | String Permutation | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Recursion/Permutations.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Recursion/Permutations.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Recursion/Permutations.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Recursion/Permutations.py) | | 2. | Tower of Hanoi | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Recursion/TowerOfHanoi.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Recursion/TowerOfHanoi.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Recursion/TowerOfHanoi.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Recursion/TowerOfHanoi.py) |

Searching

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Binary Search on 2D Matrix | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Searching/binary_search_in_a_2D_matrix.c),[C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Searching/Binary_search_in_2d_matrix.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Searching/binary_search_2d.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Searching/Binary_search_2D_matrix.py) | | 2. | Binary Search | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Searching/binary_search.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Searching/binary_search.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Searching/binary_search.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Searching/binary_search.py) | | 3. | Exponential Search | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Searching/Exponential_search.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Searching/Exponential_search.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Searching/Exponential_search.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Searching/Exponential_search.py) | | 4. | Fibonacci Search | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Searching/fibonacci_search.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Searching/fibonacci_search.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Searching/fibonacci_search.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Searching/fibonacci_search.py) | | 5. | Interpolation Search | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Searching/interpolation_search.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Searching/interpolation_search.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Searching/interpolation_search.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Searching/interpolation_search.py) | | 6. | Jump Search | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Searching/Jump_Search.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Searching/Jump_Search.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Searching/JumpSearch.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Searching/Jump_Search.py) | | 7. | Linear Search | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Searching/linear_search.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Searching/linear_search.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Searching/linear_search.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Searching/linear_search.py) | | 8. | Order Agnostic Binary Search | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Searching/Order_Agnostic_Binary_Search.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Searching/order_agnostic_bin_search.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Searching/Order_Agnostic_Binary_Search.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Searching/Order_Agnostic_Binary_Search.py) | | 9. | Quick Select | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Searching/quick_select.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Searching/quick_select.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Searching/QuickSelect.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Searching/quick_select.py) | | 10. | Sublist Search | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Searching/sublist_search.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Searching/sublist_search.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Searching/SublistSearch.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Searching/sublist_search.py) | | 11. | Ternary Search | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Searching/Ternary-Search.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Searching/Ternary_Search.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Searching/Ternary_Search.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Searching/Ternary-Search.py) |

Sorting

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | 3 Sum Problem | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/Triplet.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/Triplet.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/Triplet.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/Triplet.py) | | 2. | Bead Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/Bead_sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/Bead_sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/BeadSort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/Bead_sort.py) | | 3. | Bidirectional Selection Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/Bidirectional_Selection_Sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/Bidirectional_Selection_Sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/Bidirectional_Selection_Sort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/Bidirectional_Selection_Sort.py) | | 4. | Bingo Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/bingo_sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/bingo_Sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/bingo_Sort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/bingo_sort.py) | | 5. | Bogo Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/BogoSortIn_C.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/BogoSortIn_C%2B%2B.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/BogoSortIn_java.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/BogoSortIn_python.py) | | 6. | Bubble Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/bubble_sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/bubble_sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/bubble_sort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/bubble_sort.py) | | 7. | Bucket Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/Bucket_Sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/Bucket_Sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/BucketSort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/Bucket_Sort.py) | | 8. | Comb Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/comb_sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/comb_sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/comb_sort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/comb_sort.py) | | 9. | Counting Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/Counting_Sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/counting_sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/counting_sort.java),[Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/counting_sort.py) | | 10. | Cyclic Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/Cyclic_Sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/cyclic_sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/cyclic_sort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/cyclic_sort.py) | | 11. | Cocktail Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/CocktailSort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/cocktail_sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/CocktailSort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/CocktailSort.py) | | 12. | Dutch National Flag | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/dnf_sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/dutch_national_flag_algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/Dutch_National_Flag.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/dutch_national_flag_algorithm.py) | | 13. | Gnome Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/Gnome_Sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/Gnome_sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/Gnome_Sorting.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/Gnome_Sorting.py) | | 14. | Heap Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/heap_sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/heap_sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/heap_sort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/heap_sort.py) | | 15. | Insertion Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/insertion_sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/insertion_sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/insertion_sort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/insertion_sort.py) | | 16. | Intro Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/intro_sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/intro_sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/intro_sort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/intro_sort.py) | | 17. | Merge Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/merge_sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/merge_sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/merge_sort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/merge_sort.py) | | 18. | Odd-Even Sort / Brick Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/Odd_Even_Sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/Odd_Even_Sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/Odd_Even_Sort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/Odd_Even_Sort.py) | | 19. | Pancake Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/pancake_sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/pancake_sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/PanCakeSort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/pancake_sort.py) | | 20. | Pigeon-Hole Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/Pigeonhole%20sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/pigeonhole%20sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/pigeonhole%20sort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/pigeonhole%20sort.py) | | 21. | Quick Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/Quick_Sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/quick_sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/QuickSort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/quick_sort.py) | | 22. | Radix Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/radix_sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/radix_sort.cpp) [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/radix_sort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/radixSort.py) | | 23. | Randomized Quick Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/randomised_quicksort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/randomized_quicksort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/randomized_quicksort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/randomized_quicksort.py) | | 24. | Selection Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/selection_sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/selection_sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/selection_sort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/selection_sort.py) | | 25. | Shell Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/shell_sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/shell_sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/shell_sort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/shell_sort.py) | | 26. | Stooge Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/StoogeSort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/StoogeSort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/StoogeSort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/StoogeSort.py) | | 27. | Tim Sort | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sorting/Tim_sort.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/tim_sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/Tim_sort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/Tim_sort.py) | | 28. | Topological Sort | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/Topological_Sort.cpp) | | 29. | Wave Sort | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sorting/Wave_sort.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sorting/wave_sort.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sorting/wave_sort.py) |

Stacks

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Max Area in Histogram | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Stack/Max_Area_Histogram.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Stack/Max_Area_Histogram.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Stack/Max_Area_Histogram.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Stack/Max_Area_Histogram.py) | | 2. | Next Greater Element | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Stack/nextgreaterelement.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Stack/Next%20greater%20element.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Stack/NextGreater.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Stack/NGE_Using_stack.py) | | 3. | Rain Water Problem | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Stack/Rain_Water.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Stack/Rain_Water.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Stack/Rain_Water.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Stack/Rain_Water.py) | | 4. | Stack Using Priority Queue | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Stack/Stack_using_Priority_Queue.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Stack/Stack_using_Priority_queue.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Stack/Stack_using_priorityqueue.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Stack/stack_using_priority_queue.py) |

Strings

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Beautiful String Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/String/Beautiful_string.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/String/Beautiful_string.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/String/Beautiful_Sorting.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/String/Beautiful_string.py) | | 2. | Camel Case Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/String/Camel_Case.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/String/Camel_Case.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/String/Camel_Case.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/String/Camel_Case.py) | | 3. | Manacher's Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/String/Manachers_Algorithm.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/String/Manachers_Algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/String/Manachers_Algorithm.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/String/Manachers_Algorithm.py) |

Sub-Arrays

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | Boyer-Moore Majority Voting | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sub-Arrays/BoyerMooreAlgo.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sub-Arrays/Boyer-Moore%20Majority%20Voting%20Algorithm.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sub-Arrays/BoyerMoore.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sub-Arrays/boyer_moore_majority_vote.py) | | 2. | Kadane's Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sub-Arrays/Kadane_Algorithm.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sub-Arrays/Kadane.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sub-Arrays/KadanesAlgorithm.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sub-Arrays/Kadane_Algorithm.py) | | 3. | Shortest Unsorted Continuous Sub-Arrays | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Sub-Arrays/Unsorted_Array.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Sub-Arrays/Unsorted_Array.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Sub-Arrays/Unsorted_Array.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Sub-Arrays/Unsortd_Array.py) |

Trees

| No. | Algorithm Name | Available languages | | --- | ----------------------------------------------------------------------------------- | ------------------------------ | | 1. | AO* Tree | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Trees/AO_Star.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Trees/aostar.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Trees/aostar.py) | | 2. | AVL Tree | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Trees/AVL_Tree.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Trees/AVLTree.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Trees/avlTree.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Trees/AVLTree.py) | | 3. | B+ Tree | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Trees/BPlusTree.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Trees/BPlusTree.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Trees/BPlusTree.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Trees/BPlusTree.py) | | 4. | Binary Search Tree | [C](https://github.com/Kumar-laxmi/Algorithms/tree/main/C/Trees), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Trees/binarySearchTree.cpp) | | 5. | Binary Tree to BST | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Trees/BinaryTreeToBST.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Trees/BinaryTreeToBST.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Trees/BinaryTreeToBST.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Trees/BinaryTreeToBST.py) | | 6. | Binary Tree Views(Left, Right, Top, Bottom) | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Trees/Binary_Tree_View.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Trees/Binary_Tree_View.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Trees/Binary_Tree_View.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Trees/Binary_Tree_View.py) | | 7. | Fenwik Tree | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Trees/Fenwick%20Tree.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Trees/Fenwick%20Tree.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Trees/Fenwick_Tree.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Trees/Fenwick%20Tree.py) | | 8. | Min-Indexed D-Heap Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Trees/MinIndexedDHeap.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Trees/MinIndexedDHeap.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Trees/MinIndexedDHeap.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Trees/MinIndexedDHeap.py) | | 9. | Morris Traversal | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Trees/morris_transversal.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Trees/MorrisTraversal.cpp), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Trees/MorrisTraversal.py) | | 10. | Red-Black Tree | [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Trees/red_black.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Trees/RedBlackTree.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Trees/red_black.py) | | 11. | Segment Tree | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Trees/SegmentTree.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Trees/SegmentTree.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Trees/SegmentTree.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Trees/SegmentTree.py) | | 12. | Splay Trees | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Trees/SplayTree.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Trees/splaytree.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Trees/splayTree.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Trees/splay_tree.py) | | 13. | Symmetric Tree Algorithm | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Trees/Symmetric_Tree.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Trees/Symmetric_Tree.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Trees/Symmetric_Tree.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Trees/Symmetric_Tree.py) | | 14. | Ternary Search Tree | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Trees/TernarySearchTree.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Trees/TernarySearchTree.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Trees/TernarySearchTree.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Trees/TernarySearchTree.py) | | 15. | Treap | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Trees/treap_algo.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Trees/treap_algo.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Trees/treap_algo.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Trees/treap_algo.py) | | 16. | Tree Traversal | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Trees/tree_traversals.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Trees/tree_traversals.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Trees/tree_traversals.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Trees/tree_traversals.py) | | 17. | Trie | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Trees/trie.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Trees/Trie.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Trees/Trie.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Trees/trie.py) | | 18. | Van Emde Boas Tree | [C](https://github.com/Kumar-laxmi/Algorithms/blob/main/C/Trees/Van%20Emde%20Boas.c), [C++](https://github.com/Kumar-laxmi/Algorithms/blob/main/C%2B%2B/Trees/Van%20Emde%20Boas.cpp), [Java](https://github.com/Kumar-laxmi/Algorithms/blob/main/Java/Trees/Van%20Emde%20Boas.java), [Python](https://github.com/Kumar-laxmi/Algorithms/blob/main/Python/Trees/Van%20Emde%20Boas.py) |

Contributors 🫂


Steps for Contributing 🚀

Refer to this YouTube Video for reference!


- Fork the Repo - Clone the forked Repo by typing the following commands in the terminal ``` $ git clone https://github.com//Algorithms.git $ cd Algorithms ``` - Now to add your resource to website, add an object with keys same as listed in existing objects in the file.
- Save and commit your code.
- Push to your fork of the repository , navigate to original repository and make a pull request.

Screenshot 2022-10-23 at 8 03 11 AM
Screenshot 2022-10-23 at 8 03 31 AM
- Fork the Repo 'https://github.com/Kumar-laxmi/Algorithms.git' - Clone the Repository after forking ``` $ git clone https://github.com//Algorithms.git $ cd algorithms ``` - Create a Branch using: ``` $ git checkout -b ``` - Make changes to the code(for ex- add an update route) - To see modified changes ``` $ git status ``` - Stage your changes using: ``` $ git add . ``` - Commit your changes using: ``` $ git commit -m "add any comment" ``` - Push the changes to the forked repository using: ``` $ git push origin ``` - Navigate to the original repository and make a pull request - In case of merge conflict fetch and merge from the remote repository Please don't forget to update the Available Resources section #### Happy?? Star ⭐ this Repo. 🤩