Available question text
Given jobs with difficulty and profit and workers with abilities (each worker can do at most one job but jobs can be reused), maximize total profit by assigning each worker the most profitable job they can handle — this reduces to preprocessing jobs (sort + prefix max) and then matching each worker to the highest-profit job with difficulty ≤ their ability via binary search or a sweep.
Related questions
Continue with questions that share topics or the same question type.
- Check if Binary String Has at Most One Segment of Ones
Coding
- Coding test: Given a simple mockup implement that UI. Some CSS is already provided and an API to fetch the data also exists. The recruiter prep doc talked about structuring the code well, making sure all functions work, write CSS and write tests. There is no way you can do it all in 1 hour, so it's probably best to ask the interviewer what they expect
Coding
- Container With Most Water
Coding · Array · Greedy · Two Pointers
- Count Partitions With Max-Min Difference at Most K
Coding
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 826. Most Profit Assigning Work
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source