Tagged articles

Breadth-First Search

2 articles · Page 1 of 1
YiSu Grain
YiSu Grain
Oct 16, 2024 · Fundamentals

Understanding BFS Without Any Coding Experience

This article explains the breadth‑first search algorithm step by step, modeling a 0/1 grid as a graph, showing how a queue and a visited set work, and providing a complete Python implementation that finds the shortest path in a maze.

BFSBreadth-First SearchPathfinding
0 likes · 12 min read
Understanding BFS Without Any Coding Experience