Pergunta de entrevista da empresa Amdocs

The written test involved questions on database, UNIX, manual testing, Reasoning and Data Interpretation.

Resposta da entrevista

Sigiloso

3 de dez. de 2015

It can be done using recursion. Following is the function which gives the gcd of two no. int gcd(int a, int b) { return b == 0 ? a : gcd(b, a % b); }

18