Aggregate Employee Counts and Overdue Days Over a Group Hierarchy (Tree)
Problem: Aggregate Employee Counts and Overdue Days Over a Group Hierarchy (Tree)
Groups form a tree. You are given:
group_tree: a dictionary mapping `parent_group -> [child_group1, child_gro...
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:
