1.

In terms of Venn Diagram, which of the following expression gives LCM (Given A ꓵ B ≠ Ø)?(a) Multiplication of A U B terms(b) Multiplication of A ꓵ B terms(c) Multiplication of A*B terms(d) Multiplication of A-B termsThe question was posed to me in a national level competition.I'm obligated to ask this question of GCD LCM recursion in section Recursion of Data Structures & Algorithms II

Answer»

Right choice is (a) Multiplication of A U B terms

The best I can EXPLAIN: In terms of VENN Diagram, the LCM is given by the UNION of two SETS. So A U B gives the LCM. While A ꓵ B gives the GCD.



Discussion

No Comment Found

Related InterviewSolutions