Discussion on Midterm topics

What is BFS?

What is BFS?

by Kaniz Fatema Any 182-15-2096 -
Number of replies: 0

BFS stands for Breadth First Search is a vertex based technique for finding a shortest path in graph. It uses a Queue data structure which follows first in first out. In BFS, one vertex is selected at a time when it is visited and marked then its adjacent are visited and stored in the queue.