Implementing the fast Karatsuba multiplication algorithm
-
Updated
Nov 22, 2024 - Java
Implementing the fast Karatsuba multiplication algorithm
The Karatsuba algorithm is a fast multiplication algorithm that reduces the number of multiplication operations required to multiply two numbers by recursively breaking down the multiplication into smaller multiplications.
This Java project takes two rows of input as factors for two polynomials, where each row contains a set of factors from x^0 to x^n, separated by spaces. It returns an array of factors for the resulting polynomial product and has a time complexity of O(n^log3(2)) where n denotes the largest power of the product.
Toy implementation of RSA using self made BigInteger classes
Add a description, image, and links to the karatsuba topic page so that developers can more easily learn about it.
To associate your repository with the karatsuba topic, visit your repo's landing page and select "manage topics."