GATE CS 2019 · Question 58 · Theory of Computation · Numerical answer (NAT) · 2 marks · no negative marks
Let Σ be the set of all bijections from {1, …, 5} to {1, …, 5}, where id denotes the identity function, i.e. id(j) = j, ∀ j. Let ° denote composition on functions. For a string x = x₁ x₂ … xₙ ∈ Σⁿ, n ≥ 0, let π(x) = x₁ ° x₂ ° … ° xₙ.
Consider the language L = {x ∈ Σ^* | π(x) = id}. The minimum number of states in any DFA accepting L is ______.
Answer
Answer 120
Answer from the official GATE CS 2019 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes