Greatest common factor | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Greatest common factor

How would I find the greatest common factor of two integers?

11th Oct 2019, 4:31 PM
Advanced Incognizant
1 Answer
+ 5
Wikipedia is always a good idea if you are looking for algorithms. In this case I would recommend using the Euclidean algorithm.
11th Oct 2019, 4:43 PM
Thoq!
Thoq! - avatar