Let = {0,1} and letD = {w
Chapter , Problem 1.48(choose chapter or problem)
Let = {0,1} and letD = {w|w contains an equal number of occurrences of the substrings 01 and 10}.Thus 101 D because 101 contains a single 01 and a single 10, but 1010 6 D because 1010 contains two 10s and one 01. Show that D is a regular language.
Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.
Becoming a subscriber
Or look for another answer