Leetcode 3476. Maximize Profit from Task Assignment
Given arrays of task difficulties and corresponding profits plus worker abilities, assign at most one task to each worker (a worker can do any task with difficulty ≤ their ability) — tasks may be reused by multiple workers — to maximize the total profit. The core challenge is mapping each worker ability to the best achievable profit (commonly solved by sorting tasks and workers and maintaining a running maximum).
Asked at:
Amazon
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Early June, 2026
Amazon
Senior
N tasks were there diff tasks, some t teams were there with some capacity each ,given a 2d matrix which give the profit obtained when one team performs a particular work ,asked to maximise the total profit its like one team cant perform more number of tasks than its capacity
Hello Interview Premium
Your account is free and you can post anonymously if you choose.