← Goldman Sachs questions

Maximize ad effectiveness with cooldown interval

Filed under Goldman Sachs

Given n ads with [start, end] and effectiveness, select non-overlapping ads such that any chosen ad starts at least 4 minutes after the previous one ends, maximizing total effectiveness.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Goldman Sachs questions

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