Leetcode 1741. Find Total Time Spent by Each Employee
Group employee time-entry records by emp_id and event_day and compute total_time as the sum of (out_time - in_time) for each group. Note that in_time < out_time and events on the same day do not overlap, so a simple aggregation yields the total minutes per employee per day.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.