wuyijia

导航

基础题队列933、225、622、641

933. 最近的请求次数 1 class RecentCounter: 2 3 def __init__(self): 4 self.q = collections.deque() 5 6 def ping(self, t: int) -> int: 7 self.q.append(t) 8 9 w

posted on 2023-08-25 16:51  小吴要努力  阅读(12)  评论(0编辑  收藏  举报