Next Topological Ordering

Problem Name:
Next Topological Ordering
Site:HackerRank
Links:
Tags:
Problem setters: