Tree: Depth-First Search - Binary Tree Cameras
Consider two approaches to solve the Binary Tree Cameras problem:
Approach 1: Brute force recursion exploring all camera placement combinations (O(2^n))
Approach 2: Greedy postorder traversal with explicit enum states (O(n))
When is Approach 1 preferable over Approach 2?
