GATE | GATE CS 1997 | Question 46
Which of the following languages over {a,b,c} is accepted by a deterministic pushdown automata?
a. {wcwR ∣ w∈ {a,b}* }
b. {wwR ∣ w∈ {a,b,c}* }
c. {anbncn ∣ n ≥ 0 }
d. {w ∣ w is a palindrome over {a,b,c} }
Note: wR is the string obtained by reversing ‘w‘
(A) a
(B) b
(C) c
(D) d
Answer: (A)
Explanation:
Quiz of this Question
Please comment below if you find anything wrong in the above post
Please Login to comment...