Does anyone know why this print 30, instead of 28.


  • 0
    L

    "111111011111111"

    "101101111111111"

    "111111111111111"

    "011111101110111"

    "100111111110111"

    "111111111111111"

    "111011111110111"

    "111100011111010"

    "101100011110101"

    "101111110111011"

    "101111111111111"

    "111011111111111"

    "111000101111111"

    "111111011111111"

    "111111101111101"


  • 0
    J

    Are you sure the answer from OJ is wrong? Or you should provide your code and elaborate your idea.


Log in to reply
 

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