Leetcode 3408. Design Task Manager
Implement a TaskManager supporting add, edit, remove, and execTop (execute and remove the global task with highest priority, breaking ties by larger taskId) and return its userId. The core challenge is maintaining efficient max retrieval while allowing arbitrary task updates and deletions, so you need a data structure that supports fast lookup, updates, and removals alongside priority ordering.
Asked at:
Rippling
A
Anchorage Digital
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Late June, 2026
A
Anchorage Digital
Senior
Early June, 2026
Rippling
Senior
Hello Interview Premium
Your account is free and you can post anonymously if you choose.