Domanda di colloquio di Bloomberg

implement how to get the least common multiple(coding)

Risposta di colloquio

Anonimo

4 mar 2012

the LCM=number1/gcd*number2/gcd*gcd the gcd may be found using euclid's algorithm for finding gcd see wikipedia for the algorithm.