What happens when fsm1 accepts a reversed string?

Returns a reversed FSM. For each string that fsm1 accepted, reversed (fsm1) will accept the reversed string. reversed (reversed (x)) accepts the same strings as x for all fsm objects x, but is not necessarily mechanically identical. Essentially, this is repeated self-concatenation. If fsm1 only accepts “z”, fsm2 only accepts “zzzzzzz”.
For More Information Please Refer:


You May Also Like to Read: