Problem 3092 · Medium

Most Frequent IDs

Keep a running count per ID, drop IDs that reach zero, and report the largest count after every step.

Open the interactive visualisation