Problem 1348 · Medium
Keep each tweet name sorted by time and count each frequency bucket with two binary searches.
Open the interactive visualisation