NDFA accepting two consecutive a’s or two consecutive b’s.

RGPV 2020
Construct a NDFA accepting all string in {a,b} with either two consecutive a’s or two consecutive b’s.

Ans.