DFA · Regular
Starts with 1 and ends with 0
A first symbol that decides everything: a leading 0 sends the machine to a state it never leaves. After a leading 1, only the last symbol matters.
The author’s examples, run
10 → accept100110 → accept100 → accept1000000110 → accept00 → reject000110 → reject000 → reject0000000110 → reject