GATE Computer ScienceVery hardGATE CS

L₁ is accepted by a minimal complete DFA with 4 states and L₂ by a minimal complete DFA with 3 states. What is the largest number of states the minimal complete DFA for the concatenation L₁L₂ can ever need, over all choices of such L₁ and L₂?

  1. A. 31
  2. B. 32
  3. C. 24
  4. D. 28

Correct answer: D. 28

The tight worst-case bound for concatenation is m·2ⁿ − 2ⁿ⁻¹ for an m-state and an n-state DFA, here 4·8 − 4 = 28. The naive subset bound m·2ⁿ = 32 is not reached.

More Theory of Computation questions

Exams that ask this topic