Question: Let L1 = {an b m | n >= m}, L2 = {w (a U b)* | w contains odd number of a's and even
Let L1 = {an b m | n >= m}, L2 = {w (a U b)* | w contains odd number of a's and even number of b's}. (a) Define the language L3 = L1 L2. (b) Assuming that $ is the bottom of the stack symbol and # is the end marker of input string, draw a deterministic PDA for the language L3 (of part Q3(a) above). Here you need not to convert L3 to CFG
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
