1.

Which of the following is not an application of Euclid’s algorithm?(a) Simplification of fractions(b) Performing divisions in modular arithmetic(c) Solving quadratic equations(d) Solving diophantine equationsThe question was posed to me during an online interview.This interesting question is from Number Theory topic in division Number Theory of Data Structures & Algorithms II

Answer»

Correct choice is (C) SOLVING quadratic equations

Easy explanation - Solving quadratic equations is not an application of Euclid’s algorithm WHEREAS the rest of the OPTIONS are mathematical APPLICATIONS of Euclid’s algorithm.



Discussion

No Comment Found

Related InterviewSolutions