Design an algorithm to find the most frequent IP addresses in a server log within a rolling time window.