What finite-state machine captures binary strings with equal numbers of '01' and '10'?
I need help designing a finite state machine that accepts binary strings containing as many occurrences of the pattern 01 as occurrences of the pattern 10 . I kinda have a hard time understanding exactly which strings should be accepted and which should be rejected. Any guidance would be welcome. What is the language in question? [...] binary strings containing as many occurrences of the pattern 01 as occurrences of the pattern 10 . I kinda have a hard time understanding exactly which strings should be accepted and which should be rejected. The language defined by your specs is in fact none