1.

The conversion of NFA to DFA can be done in:(a) exponential time(b) linear time(c) logarithmic time(d) all of the mentionedThe question was posed to me by my college professor while I was bunking the class.My question comes from Conversions among Representations in portion Properties of Regular Languages of Automata Theory

Answer»

Right CHOICE is (a) exponential time

The best explanation: We can eliminate e-transitions from an n STATE epsilon-NFA to BUILD an ordinary NFA in O(n^3) time, without CHANGING the number of states.Next, producing to DFA can take exponential time.



Discussion

No Comment Found

Related InterviewSolutions