Explanation : As per given question, a grammar with no epsilon and
unit -production (i.e., of type A → ε and A →
a).
So To Reduce input string of n tokens, first Reduce
n – 2 tokens using n – 2 reduce moves and then
Reduce last 2 tokens using production which has.
So total of n – 2 + 1 = n – 1 Reduce moves