give binary array num return maximum number consecutive 1s array Example 1input num 110111output 3explanation the digit digit consecutive 1s the maximum number consecutive 1s 3example 2input num 101101output 2 Constraints1 numslength 105numsi 0 1