give integer array num return number subarray fill 0A subarray contiguous nonempty sequence element array Example 1input num 13002004output 6explanation there 4 occurrence 0 subarraythere 2 occurrence 00 subarraythere occurrence subarray size 2 fill 0 therefore return 6example 2input num 000200output 9explanationthere 5 occurrence 0 subarraythere 3 occurrence 00 subarraythere 1 occurrence 000 subarraythere occurrence subarray size 3 fill 0 therefore return 9example 3input num 2102019output 0explanation there subarray fill 0 therefore return 0 Constraints1 numslength 105109 numsi 109