Problem 1018. Array GCD

  • Find Greatest Common Divisor in a given array
  • Function Template:
function ans = arraygcd(a)
   % a=[45 15 200 300];
   5;
end

Solution Stats

57.02% Correct | 42.98% Incorrect
Last Solution submitted on Feb 19, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers104

Suggested Problems

More from this Author100

Problem Tags

gcd

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!