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.
Suppose L is your calculated LCM of array A and G is your calulate GCD of array B. Then the result will be number of multiples of L which will evenly devides G. Here evenly devides meaning the remainder will be zero if you devide x by y.
Between Two Sets
You are viewing a single comment's thread. Return to all comments →
Suppose L is your calculated LCM of array A and G is your calulate GCD of array B. Then the result will be number of multiples of L which will evenly devides G. Here evenly devides meaning the remainder will be zero if you devide x by y.
Pseudo code