A graph with exactly 5 different topological sortings of vertices

25 Views Asked by At

I am struggling to find a graph with exactly 5 different topological sortings of vertices. It's always either too much or too many. Could you help me find such graph? Thanks!

1

There are 1 best solutions below

1
On BEST ANSWER

Did you mean DAG?

$$a\to b\to c\to d\to e\leftarrow f$$

You can put $f$ on any position before $e$. There are $5$ possibilities.