Dynamic Programming21 sections · 916 units
Open in Course

Quiz: Tree Cameras Intuition

Why this greedy works

Check Your Understanding

In Binary Tree Cameras, what states do we track for each node?

  1. A.The depth of the node
  2. B.Number of children
  3. C.Covered with camera, covered without camera, and not covered
  4. D.Just whether the node has a camera
Start the roadmap to answer the quizzes and solve the challenges