Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
hyperhello
· 1y ago · 0 comments
DFS is pure flow control, like iterating an array. BFS isn't really the same simple deal as DFS, it either requires approaching the next level and saving it for the next depth somewhere, or navigating the entire previous level again.
Comments
No comments yet.
Better HN