Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
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.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.