We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Question was a bit difficult to understand. I was able to figure out that you wanted to get the LCM of all integers of A, but for this, I thought that since 2 is a factor of 20, 30, and 12 the output would be 3.
A=[2]B=[20,30,12]
Once you wrote it like this, I was able to fix the solution.
Between Two Sets
You are viewing a single comment's thread. Return to all comments →
Question was a bit difficult to understand. I was able to figure out that you wanted to get the LCM of all integers of A, but for this, I thought that since 2 is a factor of 20, 30, and 12 the output would be 3.
Once you wrote it like this, I was able to fix the solution.