1.

Which is the correct term of the given relation, gcd (a, b) * lcm (a, b) =?(a) |a*b|(b) a + b(c) a – b(d) a / bI had been asked this question in an international level competition.My query is from GCD LCM Recursion, in chapter Recursion of Data Structures & Algorithms II

Answer»

Correct choice is (a) |a*B|

The BEST explanation: The gcd is CLOSELY related to LCM as gcd (a, b) * lcm (a, b) = |a*b|.



Discussion

No Comment Found

Related InterviewSolutions