Xilinx interview question

Topological ordering for a directed graph.

Interview Answer

Anonymous

2 Jun 2013

I said BFS from nodes with 0 indegree. It doesn't work in all cases. I had to refine it.