Problem 1822 · Easy

Sign of the Product of an Array

Return the sign of the array product without multiplying its magnitudes.

Open the interactive visualisation