Question: what is greatest common divisor in algorithm?
Answer: The Euclidean Algorithm. Recall that the Greatest Common Divisor (GCD) of two integers A and B is the largest integer that divides both A and B. The Euclidean Algorithm is a technique for quickly finding the GCD of two integers.