A 100,000-vertex chain on a thread with a 512 KB stack ====================================================== recursive DFS : StackOverflowError Kahn : ordered 100000 vertices, acyclic=true