1.

What is the LCM according to the given Venn Diagram?(a) 2(b) 3(c) 180(d) 6The question was asked in an online quiz.I'm obligated to ask this question of GCD LCM recursion in chapter Recursion of Data Structures & Algorithms II

Answer»

Right answer is (c) 180

Easiest explanation - In terms of Venn Diagram, the LCM is given by the Union of TWO SETS. So A U B GIVES the LCM. So PRODUCT of all the terms is 180.



Discussion

No Comment Found

Related InterviewSolutions