HarshCasper / NeoAlgo

Bringing all Data Structures and Algorithms under one Roof ⚡
MIT License
875 stars 1.05k forks source link

Topological sort using BFS in Cpp #7502

Closed garvitgupta13 closed 3 years ago

garvitgupta13 commented 3 years ago

Have you read the Contributing Guidelines on Pull Requests?

YES

Description

Print the topological sort of directed acyclic graph. The current topological sort uses dfs, I want to add another approach using BFS

Checklist

Related Issues or Pull Requests

7501