Can someone please explain output for this ["10","0001","111001","1","0"]


  • 0
    G

    ["10","0001","111001","1","0"]
    3
    4

    LeetCode is giving answer 3 and I am thinking maximum we can get is 2 only. Can someone please explain how we get 3 ?


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.