BFS vs DFS — what’s the difference and when to use which? | LetsGit.IT