Problem 968 · Hard

Binary Tree Cameras

Place the fewest cameras so every node is watched; a camera covers its parent, itself and its children.

Open the interactive visualisation