Skip to content

docs: fix bridge count wording to "one or more" in bridge-searching-online.md #1485

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

Merged
merged 1 commit into from
Aug 17, 2025

Conversation

abanoubashraf686
Copy link
Contributor

The original text stated that the number of bridges decreases by “two or more,” which is incorrect in some cases.

For example, in this graph:
1-2-3-1
3-4
4-5-6-4

There is one bridge (3–4). Adding an edge between 1 and 4 removes only that single bridge.

This change updates the text to say “one or more,” which is accurate in all cases.

…nline.md

The original text stated that the number of bridges decreases by “two or more,” which is incorrect in some cases. 

For example, in this graph:
1-2-3-1
3-4
4-5-6-4

There is one bridge (3–4). Adding an edge between 1 and 4 removes only that single bridge.

This change updates the text to say “one or more,” which is accurate in all cases.
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a technical inaccuracy in the documentation for bridge-searching algorithms. The documentation incorrectly stated that adding an edge to a graph decreases the number of bridges by "two or more," when it can actually decrease by just one bridge in certain cases.

  • Corrects the minimum number of bridges that can be removed when adding an edge from "two or more" to "one or more"

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@spike1236 spike1236 changed the title docs: fix bridge count wording to “one or more” in bridge-searching-online.md docs: fix bridge count wording to "one or more" in bridge-searching-online.md Aug 17, 2025
@spike1236 spike1236 merged commit 2eed507 into cp-algorithms:main Aug 17, 2025
3 checks passed
github-actions bot added a commit that referenced this pull request Aug 17, 2025
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.

2 participants