Leetcode 2892. Minimizing Array After Replacing Pairs With Their Product | Hello Interview