Count Prime MultiplesGiven an array arr[] consisting of distinct prime numbers and an integer m, find how many numbers in the range from 1 to m (inclusive) are divisible by at least one of the prime numbers in the array.Examples:Input : arr[] = [2, 3, 5], m = 10Output : 8Explanation : From 1 to 10 there are 8 number whi
7 min read