Java:实现Euclidean Algorithm欧几里得算法
/** Time Complexity ~O(log(a + b)) */
package com.williamfiset.algorithms.math;
public class ExtendedEuclideanAlgorithm {
// This function performs the extended euclidean algorithm on two numbers a and b.
// The function returns the gcd(a,b) as well