Consider the grammar :
$S\rightarrow SS+ | SS* | a$
Which of the following is true:
A) SLR(1) but not LL(1)
B) LALR(1) but not SLR(1)
C) LR(1) but not LALR(1)
D) Neither LL(1) nor LR(1)
I feel the grammar is unambiguous as I couldn't get more than one parse tree for any inputs I tried. (Their key is suggesting the answer D saying it's ambiguous)
Shouldn't A be the answer? Please guide me and correct me if I'm wrong