NAT · 1 mark · Regular Languages

GATE CS 2017 CS-1 — Q22

Consider the language LL given by the regular expression (a+b)∗b(a+b)(a+b)^*b(a+b) over the alphabet {a,b}\{a, b\}. The smallest number of states needed in a deterministic finite-state automaton (DFA) accepting LL is ____________.