1.

With reference to Automaton to Regular Expression Conversion, for each of the n rounds, where n is the number of states of DFA, we can _________ the size of the regular expression constructed.(a) double(b) triple(c) quadruple(d) none of the mentionedThe question was posed to me in an interview for job.This intriguing question comes from Conversions among Representations in section Properties of Regular Languages of Automata Theory

Answer»

The correct answer is (c) quadruple

The explanation: We can quadruple the size of the REGULAR expression per ROUND. Thus, we can SIMPLY write n^3 expressions can TAKE time O(n^34^n), where n =number of states of the DFA.



Discussion

No Comment Found

Related InterviewSolutions