Pda For: A-ib-jc-k Where J I K 'link'
Read (a)’s, push (X) for each.
We need ( j = i + k ) with ( i, j, k \geq 0 ) (assuming nonnegative integers unless specified otherwise, but typical problem means ( i, j, k \ge 1 ) possibly; here we'll do ( i, j, k \ge 0 ) but ( j = i+k )). pda for a-ib-jc-k where j i k
Start: (q_0), stack (Z_0). Accept: (q_3), stack (Z_0). Read (a)’s, push (X) for each
When no more (c)’s, go to (q_2) to read (b)’s. but typical problem means ( i