Problem 3482 · Medium

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.

Open the interactive visualisation