Full Binary Tree Leaves
Computer Mathematics
Easy
2 views
Problem Description
In a full binary tree, leaves = internal+1. Given internal nodes i, print leaves.
Input Format
One integer i.
Output Format
One integer leaves.
Official Solution
For full binary tree: L = I + 1.
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!