The LR(0) DFA is shown below with states labeled as $I_{0}, I_{1}, I_{2}, I_{3}$.
Note : In the DFA, the transition $S\rightarrow \varepsilon$ is same as the transition $S\rightarrow .$ (as it is a reduce move).
The SR conflicts in this DFA are:
- State $I_{0}$: Shift move on 'a' and a reduce move $S\rightarrow .$
- State $I_{1}$: Shift move on 'a' and a reduce move $S\rightarrow .$
- State $I_{2}$: Shift move on 'a' and a reduce move $S\rightarrow .$
(moves on non-terminal symbol 'S' are goto moves and not shift moves).
The RR conflicts in this DFA are:
- State $I_{1}$: $S\rightarrow .$ and $S\rightarrow S.$
- State $I_{2}$: ($S\rightarrow S.$ and $S\rightarrow .$ ) , ( $S\rightarrow SS.$ and $S\rightarrow .$ )