Algo Arena

Select source and destination points

💠 Source: (-1, -1)

→

🚩 Destination: (-1, -1)

Breadth First Search use a technique that visits the adjacent nodes of nodes to find the path. It is mainly used to find shortest distance between two points.