Exercise: a's, followed by b's, followed by c's followed by d's with an equal number of a's and c's or b's and d's
Use the pda applet below to construct a PDA that accepts strings of the form
{ | i = k or j = m, and i, j, k, m ≥ 0 }
Examples of strings to
accept |
Examples of strings to reject |
ε ac bd abcd aabcc bbbcccddd bbd b |
abbd |
(Need help with the applet? Right click here to open help in new window.)