The question is to build a NFA that begins and ends with the same symbol. I came up with two solutions but I was wondering if there is a difference between them.
2026-03-27 02:02:46.1774576966
$\{w \in \{ a,b,c,d \}^{*}: |w|\geq 2, w \text{ begins and ends with the same symbol} \}$
1k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1


Both solutions are correct, but obviously the second one has less states and hence is a better solution. Note that, contrary to deterministic automata, there is no such notion as the minimal NFA of a language.