Problem 3411 · Easy
For each start, extend the subarray and compare its product with the product of its LCM and GCD.
Open the interactive visualisation