- 1
You are given an array of N numbers
You are given an array of N numbers Programming Medium Function Description Your task is to find the total number of ways to divide the array into one or more subarrays such that the gcd (greatest common divisor) of the product of mut greater than 1 Since the result can be very large rotum the result modulo 10^9+7
1 Respuesta
+ 2
charan raj
Is this homework?
Please post your attempt with this question and tag the language being used.