Back to the 2019 paper

Module 1: Introduction, Regular languages and finite automata

20192m

Let ww be any string of length nn in {0,1}\{0, 1\}^*. Let LL be the set of all substrings of ww. What is the minimum number of states in a non-deterministic FA that accepts LL?

(i) n1n - 1
(ii) nn
(iii) n+1n + 1
(iv) 2n12n - 1

Similar questions