graph traversal
4 posts about graph traversal by 3 contributors.
Know graph traversal? Share what you know with developers who are learning it.
- Articles
- 4
- Contributors
- 3
Articles about graph traversal
- Article · Data Structures and Algorithms (DSA)
Rotten Oranges Problem
Solve the Rotten Oranges problem using multi-source BFS! Find the minimum time to rot all fresh oranges in a grid. Learn the BFS approach with Java code and complexity analysis.
- Article · Algorithms in C#
Number of Ways to Arrive at Destination
Master Dijkstra's Algorithm to find the shortest path and count unique routes to a destination in a weighted graph. Includes Java code and complexity analysis.
- Article · Data Structures and Algorithms (DSA)
BFS and DFS in Graph with Example
Master BFS and DFS graph traversal algorithms! Explore level-by-level (BFS) and depth-first (DFS) approaches with examples, code, and comparisons. Essential for DSA!
- Article · Java
Implement Depth-First Search (DFS) Iteratively in Java
Learn how to implement iterative depth-first search in Java using a stack, track visited nodes, and avoid recursion limits when traversing graphs.


