Topic: Array Problem / Level: intermediate

Problem: Find the longest subarray where the product of elements is greater than the product of the first and last elements of the array.

Run the code to see the output here...