Matrix Traversals

O(n)
n = size(grid)

Python - DFS | Java - DFS

 
Previous
Previous

Binary Tree Traversals

Next
Next

Graph Traversals