India  

Breadth-first search

Algorithm to search the nodes of a graph

Breadth-first search    ▸ Facts   ▸ Comments   ▸ News   ▸ Videos   

Breadth-first search: Algorithm to search the nodes of a graph
Breadth-first search (BFS) is an algorithm for searching a tree data structure for a node that satisfies a given property. It starts at the tree root and explores all nodes at the present depth prior to moving on to the nodes at the next depth level. Extra memory, usually a queue, is needed to keep track of the child nodes that were encountered but not yet explored.

0
shares
ShareTweetSavePostSend
 

You Might Like


Travis Kelce Dances Around Podcast Hosts Referencing Taylor Swift's Exes

Travis Kelce ain't trying to have bad blood with Taylor Swift's exes ... that much is clear, based on the artful sidestep he made when 2 of her former BFs awkwardly came up in conversation. During the..
TMZ.com - Published

Search this site and the web: