Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Find the time of the longest task
Store each employee’s longest task time in a hash table
For employees that have the same longest task time, we only need the employee with the smallest ID