1969. Minimum Non-Zero Product of the Array Elements
Description
**Input:** p = 1
**Output:** 1
**Explanation:** nums = [1].
There is only one element, so the product equals that element.**Input:** p = 2
**Output:** 6
**Explanation:** nums = [01, 10, 11].
Any swap would either make the product 0 or stay the same.
Thus, the array product of 1 * 2 * 3 = 6 is already minimized.ac
Previous1968. Array With Elements Not Equal to Average of NeighborsNext1970. Last Day Where You Can Still Cross
Last updated