in breadth first search of graphs which data type is used
Answers
Answered by
0
Rules of BFS Algorithm
A queue (FIFO-First in First Out) data structure is used by BFS. You mark any node in the graph as root and start traversing the data from it. BFS traverses all the nodes in the graph and keeps dropping them as completed.
Similar questions