Problem 3411 · Easy

Maximum Subarray With Equal Products

For each start, extend the subarray and compare its product with the product of its LCM and GCD.

Open the interactive visualisation