diff --git a/README.md b/README.md index 2b05163a3..b334dab0f 100644 --- a/README.md +++ b/README.md @@ -255,38 +255,39 @@ | 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. | 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) | -| 6. | 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) | -| 7. | 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) | -| 8. | 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) | -| 9. | 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) | -| 10. | 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) | -| 11. | 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) | -| 12. | 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) | -| 13. | 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) | -| 14. | 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) | -| 15. | 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) | -| 16. | 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) | -| 17. | 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) | -| 18. | 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) | -| 19. | 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) | -| 20. | 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) | -| 21. | 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) | -| 22. | 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) | -| 23. | 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) | -| 24. | 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) | -| 25. | 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) | -| 26. | 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) | -| 27. | 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) | -| 28. | 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) | -| 29. | 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) | -| 30. | 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) | -| 31. | 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) | -| 32. | 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) | -| 33. | 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) | -| 34. | 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) | -| 35. | 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) | -| 36. | 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) | +| 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. | 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) | +| 21. | 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) | +| 22. | 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) | +| 23. | 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) | +| 24. | 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) | +| 25. | 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) | +| 26. | 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) | +| 27. | 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) | +| 28. | 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) | +| 29. | 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) | +| 30. | 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) | +| 31. | 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) | +| 32. | 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) | +| 33. | 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) | +| 34. | 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) | +| 35. | 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) | +| 36. | 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) | +| 37. | 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) |