## Pattern Name: Tree Depth First Search (DFS - #### Description: - #### Applicable Data Structures: - [[Stack]] (LIFO) - #### Algorithm: - [[Depth First Search (DFS)]] - #### Diagram: - #### When to Use: - Count connected components ## Key Considerations - #### General Tips: - #### Performance: - #### Space: ## Use Cases - TBD