Currently learning about topological sorting. My teacher gave us this problem.
The answer given to us is : B,A,C,E,D,G,F,H in lexicographical order.
Why does the order go from B,A,C THEN go to E and then D IF it is in lexicographical order? Also, can another topological sort of this graph be: B,A,C,D,E,G,F,H?