---
title: "Discussion on \"Graph - Breadth-First Search (BFS)\" | Hashnode"
description: "Discussion on \"Graph - Breadth-First Search (BFS)\". Explain the Problem\nImplement the Breadth-First Search (BFS) algorithm for graph traversal. Given a graph and a starting vertex, traverse the graph in breadth-first order and print the vertices in the order they are visited.\nExample:\nInput:\nGraph: \n0..."
url: "https://hashnode.com/posts/graph-breadth-first-search-bfs/667dc8a8f9ad71393bad9ebe"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Graph - Breadth-First Search (BFS)](https://lietcode.hashnode.dev/graph-breadth-first-search-bfs?utm_source=hashnode&utm_medium=feed)

Explain the Problem Implement the Breadth-First Search (BFS) algorithm for graph traversal. Given a graph and a starting vertex, traverse the graph in breadth-first order and print the vertices in the order they are visited. Example: Input: Graph: 0...

Jun 27, 2024 · 4 min read · lietcode.hashnode.dev  
Read the article

-   [#graph-database](https://hashnode.com/tag/graph-database)
-   [#bfs](https://hashnode.com/tag/bfs)

## Written by

[Abhi](https://hashnode.com/@lietcode)

@lietcode

  
[View profile](https://hashnode.com/@lietcode)

Let's crack the interviews

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
