0

I am stuck on this question that i came across in my assignment. What does it mean by unbalanced string? I don't know the proper approach of solving this question

How many n-bit strings are unbalanced?

Ruma
  • 11
  • See https://www.geeksforgeeks.org/convert-an-unbalanced-bracket-sequence-to-a-balanced-sequence/ – Tiago Cavalcante Apr 19 '22 at 12:04
  • 2
    Your source should contain a definition, but if I had to guess, then I'd say a balanced binary string had an equal number of $0's$ and $1's$. Though here we see a more refined definition for the term. – lulu Apr 19 '22 at 12:09

0 Answers0