Chapter 1: Q62P (page 92)
Let For each , let role="math" localid="1660750960062" be the language consisting of all strings that have at least one a among the last k symbols. Thus Describe a DFA with at most states that recognizes in terms of both a state diagram and a formal description.
Short Answer
Deterministic finite automaton for this language is given below.