Leetcode 1874. Minimize Product Sum of Two Arrays | Hello Interview