I started learning about NFA's and DFA's and stumbled across this question online in one of the Berkley PDF's on DFA's, but the question did not have a solution attached.
How would I be able to Show that there is an algorithm which receives as input a DFA M over the alphabet {a, b}
and decides whether L(M) = {a}
or L(M) =/= {a}
?
Any guidance would be highly appreciated.