##### construct a DFA over {a,b} such that in each string,no of a's and b's are both 2 ?

construct a DFA over {a,b} such that in each string,no of a's and b's are both 2 ?

construct a DFA over {a,b} such that in each string,no of a's and b's are both 2 ?

Why don't you give it a try and we correct.

yes , its right dfa

am I right?