Module intro_algorithm

Source

Functionsยง

euclidean_algorithm
Performs the Euclidean Algorithm on a and b to calculate the greatest common divisor (GCD) between a and b
euclidean_algorithm_recursion
Performs the Euclidean Algorithm recursively on a and b to calculate the greatest common divisor (GCD) between a and b