Analyze Reports in a Nested Org Chart
Company: Patron
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Technical Screen
Quick Answer: Analyze a nested organization chart and classify every employee as an individual contributor or manager. Compute direct and total descendant counts in linear time, handle a forest or deep hierarchy, and clarify inconsistent examples before choosing a counting convention.