McqMate
| Q. |
Is gcd an associative function. |
| A. | true |
| B. | false |
| Answer» A. true | |
| Explanation: the gcd function is an associative function as gcd (a, gcd (b, c)) = gcd (gcd (a, b), c). | |
View all MCQs in
Design and Analysis of AlgorithmsNo comments yet