← ALL NOTES
Array

2071. Maximum Number of Tasks You Can Assign

tasks[i] = task difficulty, workers[j] = worker strength. A worker can do a task if strength ≥ difficulty. There are pills pills, each giving one worker +strength (once per worker). Maximise the…

Loading…