Given an array arr[] consisting of N positive integers, the task is to find the length of the longest subarray having product of elements of… Read More »

The post Length of longest subarray with product equal to a power of 2 appeared first on GeeksforGeeks.


Given an array arr[] consisting of N positive integers, the task is to find the length of the longest subarray having product of elements of… Read More »
The post Length of longest subarray with product equal to a power of 2 appeared first on GeeksforGeeks.