Problem 1464 · Easy

Maximum Product of Two Elements in an Array

Maximise the product of two different array elements after each is reduced by one. The visual highlights the two largest reduced values.

Open the interactive visualisation