give binary array num delete element itreturn size long nonempty subarray contain 1s result array Return 0 subarray Example 1input num 1101output 3explanation after delete number position 2 111 contain 3 number value 1sexample 2input num 011101101output 5explanation after delete number position 4 01111101 long subarray value 1s 11111example 3input num 111output 2explanation you delete element Constraints1 numslength 105numsi 0 1