Why isn't it LL(1) ?
Given grammar is not LL(1) because for Non-terminal "A" contains two entries in LL(1) table .
A-->aAb
A--->a
Given grammar is LR(1) because there is no conflict while constructing DFA for LR(1).
Not LL(1)
64.3k questions
77.9k answers
244k comments
80.0k users