Leetcode: Max Consecutive Ones II(unsolved locked problem)
Givenabinaryarray,findthemaximumnumberofconsecutive1sinthisarrayifyoucanflipatmostone0.Example1:Input:[1,0,1,1,0]Output:4Explanation:Flipthefirstzerowillgetthethemaximumnumberofconsecutive1s.Afterflip