Team with the highest average salary in an org chart
Given an org chart where every employee has a salary, find the manager whose team (the manager and everyone below them) has the highest average salary.
No answer yet. Write the first one; the best answer gets endorsed.
