InterviewSolution
Saved Bookmarks
| 1. |
What is the LCM of two coprime numbers?(a) 1(b) 0(c) Addition of two coprime numbers(d) Multiplication of two coprime numbersThe question was posed to me in unit test.My question is from GCD LCM recursion in section Recursion of Data Structures & Algorithms II |
|
Answer» RIGHT CHOICE is (d) Multiplication of TWO coprime numbers The best explanation: Coprime numbers have GCD 1. While LCM of coprime numbers is the product of those two coprime numbers. |
|