What is breadth first search and depth first search?
Answers
Answered by
2
and beadth search means an algorithm for traversing or searching tree or graph data structure
Attachments:
Answered by
1
hey
Breadth - first search is an algorithm for traversing or searching tree or groups data structure . It starts at the tree root ( or some arbitrary mode of a group , sometimes referred to as a search key ) and explores the neighbor nodes first , before moving to the next level neighbours.
I hope this will help u !
Breadth - first search is an algorithm for traversing or searching tree or groups data structure . It starts at the tree root ( or some arbitrary mode of a group , sometimes referred to as a search key ) and explores the neighbor nodes first , before moving to the next level neighbours.
I hope this will help u !
Similar questions