a. Prove the equality
that underlies the algorithm for computing lcm(m, n).
b. Euclid’s algorithm is known to be in O(log n). If it is the algorithm that is used for computing gcd(m, n), what is the efficiency of the algorithm for computing lcm(m, n)?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here