Question: what is the difference between nfa and dfa in terms of transition function?
Answer: DFA rejects the string in case it terminates in a state that is different from the accepting state. NFA rejects the string in the event of all branches dying or refusing the string.