2,646 views
2 2 votes
Consider R1 and R2 are two regular expression then equality of two regular expression compute in

A) polynomial time  B) Exponential time

C) logarithmic Polynomial time  D) Constant Time

6 Answers

1 1 vote
  • Convert to NFA
  • Convert to DFA
  • Minimize DFA - minimal DFA is unique

So, must be exponential as there is no other way to do this AFAIK. 

0 0 votes
I think its D) Constant  time   .
Position:
Show:

Related questions

1 1 vote
2 2 answers
2.5k
2.5k views
0 0 votes
1 answers 1 answer
1.3k
1.3k views
Mojo-Jojo asked Sep 29, 2015
1,309 views
 
0 0 votes
3 answers 3 answers
3.1k
3.1k views