Question DSA-MATH-0001
EasyWhat is the GCD of 48 and 18?
- A.
9
- B.
3
- C.
12
- D.
6
Show answer and explanation
Answer: D
Euclid: gcd(48, 18) = gcd(18, 12) = gcd(12, 6) = gcd(6, 0) = 6.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Math and Number Theory question
What is the GCD of 48 and 18?
9
3
12
6
Answer: D
Euclid: gcd(48, 18) = gcd(18, 12) = gcd(12, 6) = gcd(6, 0) = 6.