I have been trying to learn Tarjan\'s algorithm from Wikipedia for 3 hours now, but I just can\'t make head or tail of it. :(
http://en.wikipedia.org/wiki/Tarjan\'s_stro