Each node of a perfect binary tree has a cost. Raise some costs so that every path from the root to a leaf adds up to the same total, using as few increments as possible.
Each node of a perfect binary tree has a cost. Raise some costs so that every path from the root to a leaf adds up to the same total, using as few increments as possible.
Each node of a perfect binary tree has a cost. Raise some costs so that every path from the root to a leaf adds up to the same total, using as few increments as possible.
The discussion opens with the full question.