How many Topological Orderings possible?
4 is correct
https://onlinegdb.com/B1FqP7ldX
On solving, Topological sort, we can remove some edges,
i.e., if (a,b), (b,c) and (a,c) then remove (a,c).
@Shaik Masthan sir there are many method for topological sort which method should apply all of them having different method which to use for correct answer in less time.
64.3k questions
77.9k answers
244k comments
80.0k users