Available question text
Given sequential task completion logs with implicit start times (first at 0), compute each task's duration (current leaveTime minus previous leaveTime) and return the employee id who worked the longest task, breaking ties by the smallest id.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2432. The Employee That Worked on the Longest Task
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source