This video is part of Graphs section under GFG SDE Sheet.
In this video, we are given, a Directed Acyclic Graph (DAG) with V vertices and E edges, Our task is to find any Topological Sorting of that Graph.
Try it out before watching the implementation of the problem in the video. We recommend watching the video, even if you can solve the problem. You may discover something new. All the best!!!
Do check out:-
Article: https://www.geeksforgeeks.org/topological-sorting/
Problem: https://practice.geeksforgeeks.org/problems/topological-sort/1
SDE Sheet Link: https://www.geeksforgeeks.org/sde-sheet-a-complete-guide-for-sde-preparation/