Skip to content

Conversation

hargunkaur286
Copy link
Contributor

@hargunkaur286 hargunkaur286 commented Mar 13, 2025

References to other Issues or PRs or Relevant literature

Fixes #635

Brief description of what is fixed or changed

This PR introduces the implementation of Tarjan's Bridge-Finding Algorithm. The key changes include:

  1. Adding the find_bridges function in graphs/algorithms.py file to detect all bridges (cut-edges) in an undirected graph using Tarjan's algorithm.

  2. Documentation with example usage and reference links.

  3. Updating the all list to expose find_bridges as part of the public API.

  4. Extending the tests file to include tests for find_bridges

Other comments

@czgdp1807 czgdp1807 merged commit 513ba92 into codezonediitj:main Mar 19, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Bridge-Finding Algorithm for Undirected Graphs (Tarjan's Algorithm)
2 participants