Problem 1874 · Medium
Minimize the product sum by rearranging array pairings.
Open the interactive visualisation