A repeat can only happen where two loops meet
Level 3 says no title twice in a row. Inside one loop that can't happen, because each title shows once per loop. The only place left is the seam, where the last title of one loop meets the first title of the next.
Without updates, the seam is safe too. The last title is the worst one and the first is the best, so they differ unless there's only one title. An update is what makes the seam dangerous. Here's the two-list billboard with no repeat rule. After Comet, Harbor, Maple and Orbit show, Tundra rises to 10:
| Call | Shows |
|---|---|
| 1 to 4 | Comet, Harbor, Maple, Orbit |
| update | Tundra's score goes to 10 |
| 5 | Tundra |
| 6 | Tundra |
| 7 | Comet |
Tundra was still waiting, so call 5 shows it, and that ends the loop. Call 6 starts a new loop, and Tundra, at 10, is now the best title of all. Two Tundras in a row.
This is the rule the prep site's version of the question names: avoid immediate repeats (1 source). Before you fix it, write the check that finds it. A check you can run on any output is how you'll test every level from here on.
The editor holds repeats. Write repeats(shows) to return each index where a title is the same as the one just before it.