Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create topologicalSort.py #1

Merged
merged 1 commit into from
Oct 27, 2023
Merged

Create topologicalSort.py #1

merged 1 commit into from
Oct 27, 2023

Conversation

Manishb18
Copy link
Owner

This pull request introduces a Python implementation of the topological sort algorithm, which is used to linearly order the vertices of a directed acyclic graph (DAG). The algorithm employs Depth First Search (DFS) to achieve this ordering.

Code to perform topological sort using python. 
Code makes the problem look easy.
@Manishb18
Copy link
Owner Author

I'm excited to contribute this implementation to the repository. Please feel free to review the code and let me know if any further modifications or adjustments are needed. I look forward to any feedback you may have!

@Manishb18 Manishb18 merged commit 0d8b753 into master Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant