Surrounded Regions
BFS/DFS — Surrounded Regions
Walls and Gates
BFS/DFS — Walls and Gates
Rotting Oranges
BFS/DFS — Rotting Oranges
01 Matrix
BFS/DFS — 01 Matrix
Shortest Path in Binary Matrix
BFS/DFS — Shortest Path in Binary Matrix
As Far from Land as Possible
BFS/DFS — As Far from Land as Possible
Pacific Atlantic Water Flow
BFS/DFS — Pacific Atlantic Water Flow
All Nodes Distance K in BST
BFS/DFS — All Nodes Distance K in BST
Sum Root to Leaf Numbers
BFS/DFS — Sum Root to Leaf Numbers
Path Sum II
BFS/DFS — Path Sum II
Binary Tree Right Side View
BFS/DFS — Binary Tree Right Side View
Average of Levels in Binary Tree
BFS/DFS — Average of Levels in Binary Tree
Cousins in Binary Tree
BFS/DFS — Cousins in Binary Tree
Distribute Coins in Binary Tree
BFS/DFS — Distribute Coins in Binary Tree
Amount of Time for Tree to Burn
BFS/DFS — Amount of Time for Tree to Burn
Maximum Width of Binary Tree
BFS/DFS — Maximum Width of Binary Tree
Populating Next Right Pointers
BFS/DFS — Populating Next Right Pointers
Flatten Binary Tree to Linked List
BFS/DFS — Flatten Binary Tree to Linked List
Construct Binary Tree from Preorder Inorder
BFS/DFS — Construct Binary Tree from Preorder Inorder
Serialize Deserialize BST
BFS/DFS — Serialize Deserialize BST