00:01
A dfa is a deterministic finite automation that does not accept everything.
00:13
There are dfa's that accept specific languages and if you want to determine whether a given dfa accepts all strings, whether l, d, sigma, star, bracket, you can use the following efficient algorithm.
00:26
Algorithm to determine dfa accepts all strings.
00:42
First one, initialize a set of visited states.
00:47
Initialize a set of empty set.
00:56
And second point, initialize a queue with start state of dfa.
01:10
And third one, while the queue is not empty, do the following.
01:15
That is a dq, a state from the queue.
01:28
And next, mark the state as visited...