Q. Company xyz.com has an organizational structure such that each employee in the company can have at most one manager
and may have many subordinates. The company recently conducted their quarterly performance review cycle and each employee has received a performance rating.
An example structure is as follows:
A(5)
B(3) C(1)
D(4) E(10)Input format: [employee name, rating, List]
data = [['A', 5, ['B', 'C']], ['B', 3, []], ['C', 2, ['D', 'E']], ['D', 4, []], ['E', 10, []]
Output: E
Modified version of https://leetcode.com/problems/employee-importance/