query_id
stringlengths 36
36
| fsm_id
stringlengths 36
36
| fsm_json
stringlengths 160
2.88k
| difficulty_level
int64 1
3
| transition_matrix
stringlengths 17
517
| query
stringlengths 101
358
| answer
stringclasses 13
values | substring_index
int64 1
29
|
---|---|---|---|---|---|---|---|
a7aa385e-b79e-4e84-866d-a50927840ce7 | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjj? | s1 | 8 |
72c2ef53-d493-4003-af90-800e971ef127 | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjji? | s1 | 9 |
1e437fb8-e418-44dc-993f-0cb592ef752f | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjih? | s0 | 10 |
98ebfc8c-6c2e-4888-9997-545dd0edb5ab | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjihi? | s0 | 11 |
59c60ac1-44d7-4365-a776-4dfb8ea2fce0 | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjihif? | s1 | 12 |
791e38cd-a9f8-4175-bdbd-025382e21d86 | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjihiff? | s2 | 13 |
17b882ff-7f68-4370-96cd-28a166f947eb | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjihifff? | s2 | 14 |
86a9753f-4c11-4d0b-b58b-129911d75901 | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjihifffc? | s0 | 15 |
2d7880d2-b4cc-4a1d-ad87-46958859d019 | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjihifffcb? | s1 | 16 |
5b69a00a-0b32-4d3f-9da1-68a46011ce74 | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjihifffcbh? | s0 | 17 |
48049060-7942-4c11-a306-8c122b8c89ff | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjihifffcbhc? | s0 | 18 |
54673798-7c70-4617-a771-2e3335101c76 | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjihifffcbhci? | s0 | 19 |
92453369-fc66-4a75-85ca-79dd9a586bac | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjihifffcbhcib? | s1 | 20 |
6ed5f1af-2c76-4bb3-9da1-5de681988825 | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjihifffcbhcibc? | s0 | 21 |
d81d1856-6e46-4e9d-8d00-ff1d86b9e7a6 | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjihifffcbhcibcg? | s1 | 22 |
dad33ec0-0a9f-4d32-be3f-df08343834f4 | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjihifffcbhcibcgi? | s1 | 23 |
7483129a-3cc7-4f57-9fe4-4085efbc81fc | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjihifffcbhcibcgii? | s1 | 24 |
d41cef9f-e519-4ec0-9988-ff0da5b5cc79 | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjihifffcbhcibcgiic? | s0 | 25 |
d3ea4e7f-1304-4ff7-b24e-00f23bcdc1d4 | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjihifffcbhcibcgiicc? | s0 | 26 |
86d9b996-d304-4bc5-8fdd-79dee6788c9f | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjihifffcbhcibcgiicch? | s1 | 27 |
0d25df66-d2ac-4367-8eec-5e5d4c6f4e05 | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjihifffcbhcibcgiicchg? | s1 | 28 |
43f8247a-17b9-46d1-bfe0-9e831537c647 | 1306ef46-0afa-45de-9c24-e85f12c8903c | {"states": ["s0", "s1", "s2"], "alphabets": "abcdefghij", "accepting_states": ["s1", "s0", "s2"], "initial_state": "s0", "transitions": [{"fromState": "s0", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "d", "toStates": ["s2"]}, {"fromState": "s0", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "f", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "h", "toStates": ["s1"]}, {"fromState": "s0", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s0", "symbol": "j", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "b", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "d", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "e", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s1", "symbol": "g", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s1", "symbol": "i", "toStates": ["s1"]}, {"fromState": "s1", "symbol": "j", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "a", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "b", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "c", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "d", "toStates": ["s1"]}, {"fromState": "s2", "symbol": "e", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "f", "toStates": ["s2"]}, {"fromState": "s2", "symbol": "g", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "h", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "i", "toStates": ["s0"]}, {"fromState": "s2", "symbol": "j", "toStates": ["s2"]}]} | 3 | {"a":{"s0":"s2","s1":"s2","s2":"s2"},"b":{"s0":"s1","s1":"s1","s2":"s0"},"c":{"s0":"s0","s1":"s0","s2":"s0"},"d":{"s0":"s2","s1":"s0","s2":"s1"},"e":{"s0":"s0","s1":"s0","s2":"s2"},"f":{"s0":"s1","s1":"s2","s2":"s2"},"g":{"s0":"s1","s1":"s1","s2":"s0"},"h":{"s0":"s1","s1":"s0","s2":"s0"},"i":{"s0":"s0","s1":"s1","s2":"s0"},"j":{"s0":"s2","s1":"s1","s2":"s2"}} | Given the following FSM:
a b c d e f g h i j
s0 s2 s1 s0 s2 s0 s1 s1 s1 s0 s2
s1 s2 s1 s0 s0 s0 s2 s1 s0 s1 s1
s2 s2 s0 s0 s1 s2 s2 s0 s0 s0 s2
What will be the state after reading the following input: hfdhchjjihifffcbhcibcgiicchgi? | s1 | 29 |