Print Employee Org Chart
Given a list of lists describing reporting relationships, where each element is [manager, employee] meaning the manager directly manages the employee, do the following:
- Build an OrgChart class (...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
