1822. Sign of the Product of an Array
Description
**Input:** nums = [-1,-2,-3,-4,3,2,1]
**Output:** 1
**Explanation:** The product of all values in the array is 144, and signFunc(144) = 1**Input:** nums = [1,5,0,2,-3]
**Output:** 0
**Explanation:** The product of all values in the array is 0, and signFunc(0) = 0ac
Previous1821. Find Customers With Positive Revenue this YearNext1823. Find the Winner of the Circular Game
Last updated