3 ms·
no, I mean detecting a cycle. If you ever find a state that has already been visited you can know for certain it's "stuck"
by cpfohl 12y ago
no, I mean detecting a cycle. If you ever find a state that has already been visited you can know for certain it's "stuck"