Computer Science, asked by yrajnish5842, 8 months ago

What is bfs and dfs in AI?

Answers

Answered by MrGANGStER
0

ANSWER FOR YOUR QUESTIONS IS GIVEN BELOW PLEASE MARK ME AS BRAINLIEST

PLEASE FOLLOW ME ON BRAINLY APP

IT GIVES A LOT OF MOTIVATION TO ANSWER QUESTION LIKE YOURS

BFS---

Breadth-first search (BFS) is an algorithm for traversing or searching tree or graph data structures.

DFS---

Depth-first search (DFS) is an algorithm for traversing or searching tree or graph data structures. The algorithm starts at the root node (selecting some arbitrary node as the root node in the case of a graph) and explores as far as possible along each branch before backtracking.

HOPE IT HELPS U

MARK ME AS BRAINLIEST IF U LIKE

ATLEAST GIVE A THANKS FOR MY EFFORTS

FOLLOW ME ON INSTAGRAM ☢️

mr.gangster44

Similar questions