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) n−1n - 1
(ii) nn
(iii) n+1n + 1
(iv) 2n−12n - 1

Similar questions

AI LearningWeb Platform

Coursify — Personal AI Course Generator

Struggling with a difficult subject or concept? Turn any engineering topic into a structured course with interactive lessons, quizzes, and research-backed explanations.