i learning bfs,dfs …please provide me links to problem or theory where i could learn these
and next time just try to google a bit…
I would suggest, search youtube for IIT Delhi DFS lecture by Prof. Naveen Garg. Or if you’re really a lazy guy then this is it.
My purpose for writing the explanation was so that you can refer to the same source again when you look for some other topic. You can watch other related videos by him also. I still remember the Prim’s and Kruskal’s and Dijkstra’s algorithm that I watched before my algorithms paper. His explanations are superb and you will learn a lot.