Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Is there a particular way we should order the arrays such that the product sum is minimized?
Would you want to multiply two numbers that are closer to one another or further?