Minimizing Array After Replacing Pairs With Their Product

mediumSolve on LeetCodeLast edited: August 2, 2025