How can I create a DFA that has memory such that I could write a rule for this DFA that states transition to state B after transitioning from state A at some point (doesn't matter when. Could have been the last state or 5 states ago)
.
I'm not even sure if creating a DFA like this is possible, hence why I'm asking here. If it's not possible, is there any other state transition algorithm I can use