Latest GRE Aptitude Question SOLUTION: The Euclidean algorithm is used to find the greatest common divisor (gcd) of two positive integers a and b . input(a) input(b) while b>0 begin r := a mod b a := b b := r end gcd