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 42 students.
Sign up free to check your answer
Sign up freeLoading lesson…