Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Breadth First Search c++ #217

Open
Mohitbagul opened this issue Oct 2, 2024 · 0 comments
Open

Breadth First Search c++ #217

Mohitbagul opened this issue Oct 2, 2024 · 0 comments

Comments

@Mohitbagul
Copy link

Mohitbagul commented Oct 2, 2024

C++

Given a directed graph. The task is to do Breadth First Traversal of this graph starting from 0.
Note: One can move from node u to node v only if there's an edge from u to v.
Find the BFS traversal of the graph starting from the 0th vertex, from left to right according to the input graph. Also, you should only take nodes directly or indirectly connected from Node 0 in consideration.

Screenshot 2024-10-02 141340
Screenshot 2024-10-02 141347

Please assign me this issue with hacktoberfest label.

@Mohitbagul Mohitbagul changed the title Breadth First Search Breadth First Search c++ Oct 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants