1.

Conversion of regular expression to e-NFA takes ___________ time.(a) linear(b) exponential(c) logarithmic(d) none of the mentionedI got this question in my homework.This intriguing question originated from Conversions among Representations topic in division Properties of Regular Languages of Automata Theory

Answer»

Right choice is (a) linear

Explanation: It is possible to parse the expression efficiently, using a technique that TAKES only O(N) TIME on a expression of LENGTH n^3.



Discussion

No Comment Found

Related InterviewSolutions