Search⌘ K
AI Features

DIY: Time Needed to Inform All Employees

Understand how to compute the time needed for an urgent message to reach all employees in a company with a hierarchical structure. Learn to implement a function that uses the manager and inform time arrays to calculate the total minutes required for communication to spread from the head to every subordinate.

Problem

...