Problem 3851 · Medium

Maximum Requests Without Violating the Limit

Keep as many requests as possible so that no user has more than k kept requests in any inclusive window of the given span.

Open the interactive visualisation