Movie Billboard Rotation Service

Asked at Netflix · Coding Questions · Difficulty: Medium · Last asked Mar 29, 2026

Build a service that chooses which title to show on a streaming homepage billboard. Every title has a relevance score, and the service shows the highest-scored title, but it should not show the same title twice in a row whenever another title exists.

Loading the problem…