McqMate
| Q. |
What is the lcm (a, b)? |
| A. | a + b |
| B. | gcd (a-b, b) if a>b |
| C. | lcm (b, a) |
| D. | a – b |
| Answer» C. lcm (b, a) | |
| Explanation: since the lcm function is commutative, so lcm (a, b) = lcm (b, a). | |
View all MCQs in
Design and Analysis of AlgorithmsNo comments yet