Time Needed to Inform All Employees
Implement `solve` for **Time Needed to Inform All Employees**. Return the required output for the provided arguments.
Implement `solve` for **Time Needed to Inform All Employees**. Return the required output for the provided arguments.