Question: Find a regular grammar for strings over the alphabet S = {a,b} that have an odd number of as and an even number of bs.
Find a regular grammar for strings over the alphabet S = {a,b} that have an odd number of as and an even number of bs.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
