Let N be an NFA with n states. Let k be the number of states of a minimal DFA which is equivalent to N. Which one of the following is necessairly true ?
A
k≥n
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
k≤2n
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
k≤n2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
k≥2n
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is Bk≤2n n is number of states of given NFA (may not be minimal)k is number of states of equivalent min DFA. First we convert NFA to DFA using subset construction algorithm and we get an equivalent DFA which will have atmost 2n states.
Then we can convert this DFA to a minimal DFA and get a minimal DFA with k states k≤2n