is this correct DFA ?
Answer is correct but while conversion of NFA to DFA remember the set of final states.
Final states in DFA are states which has final state of NFA (While converting NFA to DFA).
means in your NFA Q2 is final state and after converting you have state Q0Q2 and Q0Q1Q2 are states which has Q2 so just make it final otherwise answer is correct.
64.3k questions
77.9k answers
244k comments
80.0k users