00:01
We were asked to construct a deterministic, finite state automaton that recognizes the set of all bit strings that contain three consecutive ones.
00:17
So first of all, let s be the set of all bit strings containing three consecutive ones.
00:44
And i think in this case they mean at least three consecutive ones.
00:50
It could be that we have more.
00:56
Now let s0 be a start state.
01:08
And let's consider four states total.
01:12
So we have s0, and then s1 is going to represent, last digit was a one.
01:26
Last bit, i should say, was a one.
01:33
Of course, this is if it was a one, but there was no one -one or a single one preceding it.
01:43
And s -2 will represent the last two digits...