Simple solution with explanation on Swift
Explanation\n1. Check if nums array contains zero. 0 * n = 0\n2. Find how many negative numbers in array\n3. if its even: -2 * -2 = 4. So result will be 1.\n4. 
# Explanation\n1. Check if nums array contains zero. __0 * n = 0__\n2. Find how many negative numbers in array\n3. if its even: __-2 * -2 = 4__. So result will be 1.\n4. if its odd: __-2 * -2 * -1 = -4__. In this way result will be -1.\n# Code\n```\nclass Solution {\n    func arraySign(_ nums: [Int]) -> Int {\n        guard !nums.contains(0) else { return 0 }\n        return nums.filter { $0 < 0 }.count % 2 == 0 ? 1 : -1\n    }\n}\n```\n### Please upvote if my solution was helpful to you!
['Swift']