Cody

Problem 1019. Vector LCM

  • Find Least Common Multiple of a given vector.
  • Need general solution as the test suite will be expanded.
  • Function Template:
function ans = vectorLCM(v)
   % v=[45 15 200 300];
   1800;
end

Solution Stats

73.42% Correct | 26.58% Incorrect
Last Solution submitted on Mar 02, 2020

Problem Recent Solvers87

Suggested Problems

More from this Author100

Problem Tags

lcm