Available question text
Given tasks with strength requirements and workers with strengths (each worker can get at most one +strength pill, with only p pills available), find the maximum number of tasks that can be assigned so each assigned worker meets the task requirement (possibly after a pill); this is typically solved by checking feasibility for k assignments with a greedy matching and binary-searching k for efficiency on large inputs.
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 2071. Maximum Number of Tasks You Can Assign
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source