there function signFuncx returns1 x positive1 x negative0 x equal 0you give integer array num let product product value array numsReturn signfuncproduct Example 1input num 1234321output 1explanation the product value array 144 signfunc144 1example 2input num 15023output 0explanation the product value array 0 signFunc0 0example 3input num 11111output 1explanation the product value array 1 signFunc1 1 Constraints1 numslength 1000100 numsi 100