Tree: Depth-First Search - Binary Tree Cameras
Given the following code for the optimal camera placement, what is the final number of cameras placed for the tree with root node 0, left child 1, and right child 2 (both children are leaves)?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions