You have an array of n numbers and an integer x, find the biggest subarray so that its Product is not dividable to x and n is up to 1e5
I also have a similar question for the biggest array so that their sum is not dividable to x
Self Made Problem help.
You have an array of n numbers and an integer x, find the biggest subarray so that its Product is not dividable to x and n is up to 1e5
I also have a similar question for the biggest array so that their sum is not dividable to x