摘要:
Design a hit counter which counts the number of hits received in the past 5 minutes. Each function accepts a timestamp parameter (in seconds granulari 阅读全文
posted @ 2019-12-09 11:50
xuan_abc
阅读(161)
评论(0)
推荐(0)
摘要:
Design a data structure that supports all following operations in average O(1) time. insert(val): Inserts an item val to the set if not already presen 阅读全文
posted @ 2019-12-09 09:37
xuan_abc
阅读(206)
评论(0)
推荐(0)
摘要:
Design a logger system that receive stream of messages along with its timestamps, each message should be printed if and only if it is not printed in t 阅读全文
posted @ 2019-12-09 00:44
xuan_abc
阅读(147)
评论(0)
推荐(0)

浙公网安备 33010602011771号