假设您有一台不断获取HTTP请求的服务器.你的老板需要一些统计数据,并要求你计算在任何给定时间内最后一分钟内的命中数.
您将使用什么算法和数据结构来实现这一目标?
algorithm data-structures
algorithm ×1
data-structures ×1