Problem 2327 · Medium

Number of People Aware of a Secret

Count new learners per day as a sliding window over earlier days, then sum the people who have not yet forgotten.

Open the interactive visualisation