MathWorks logoMathWorks
Coding·60 minMembers

Two-Intern Task Assignment Max Reward

Members only

Given two reward arrays for assigning each task to intern 1 or intern 2, choose exactly `k` tasks for intern 1 and the rest for intern 2 to maximize total reward.

SWE
array
greedy
sorting
medium
Frequency
Single report
Last asked
2026-01-25
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...