460 likes | 637 Views
Euclid's Algorithm . In Euclid's 7th book in the Elements series (written about 300BC), he gives an algorithm to calculate the highest common factor (largest common divisor) of two numbers x and y where (x < y). This can be stated as: 1.Divide y by x with remainder r. 2.Replace y by x, and
E N D
1. Analyzing Algorithms and Problems Prof. Sin-Min Lee Department of Computer Science