maybe read up on directed graphs and come with the algorithm by hand.
then write tests and try and pass them while i wrote the algorithm.
maybe read up on directed graphs and come with the algorithm by hand.
then write tests and try and pass them while i wrote the algorithm.