Beautiful Binary String

  • + 3 comments

    PYTHON SOLUTION

    def beautifulBinaryString(b):
        # Write your code here
        return len(b.split('010'))-1
    
    • + 0 comments

      how can you find solution like this ?

    • + 0 comments

      bro is a pro coder