Analyze Organization Hierarchy
Teaching version: for each employee in a single-root reporting tree, compute the level (root is 1), the number of people below and the salary budget of the subtree including self.
Teaching version: for each employee in a single-root reporting tree, compute the level (root is 1), the number of people below and the salary budget of the subtree including self.