Tarjan cycle detection help C#
The above is actually correct, I did not understand what a strongly connected component was. I was expecting the function to return an empty List of strongly connected components, yet it was returning a list of single nodes. I believe the above is working. Feel free to use if you need it!