In the correct grammar of above question, what is the length of the derivation…
GATE · 2006 · CS
In the correct grammar of above question, what is the length of the derivation (number of steps starring from S) to generate the string albm with l ≠ m?
- A.
max(l,m) + 2
- B.
l + m + 2
- C.
l + m + 3
- D.
max(l, m) + 3
Attempted by 39 students.
Show answer
Correct answer: A
Explore the full course: Iocl Engineers Officers Grade A Paper 2
Loading lesson…