โ† McAfee questions

Maximum weight independent set on a line

Filed under McAfee

The question

Given a sequence of players with scores, select a subset such that no two selected players are adjacent and the total score is maximized.

No write-up yet. Related questions below have one.

Related McAfee questions

Collected from public candidate posts and coding forums. Updated Nov 2026.