- two parse tree for i+j*k.
- $+$ and $*$ having same precedence..
- to make grammar LALR compatible give priority to $+$ over $*$ or vice versa.
following grammar is LALR(1)
$E \rightarrow E + T$
$\qquad \mid T$
$T \rightarrow T * F$
$\qquad \mid F$
$F \rightarrow id$