On Sep 23, 1:24 am, kpp9c <k... at mac.com> wrote: > Very simple finite automaton (?) > > 1 --> 2 5 > 2 --> 1 4 > 3 --> 3 > 4 --> 1 > 5 --> 4 3 > hello, this is a graph and you are doing depth first search. konstantin