Bloomberg interview question

implement how to get the least common multiple(coding)

Interview Answer

Anonymous

Mar 4, 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.