You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/com/fishercoder/solutions/_359.java
-29
Original file line number
Diff line number
Diff line change
@@ -4,36 +4,7 @@
4
4
importjava.util.HashSet;
5
5
importjava.util.Map;
6
6
importjava.util.Set;
7
-
/**
8
-
* 359. Logger Rate Limiter
9
-
*
10
-
* 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 the last 10 seconds.
11
7
12
-
Given a message and a timestamp (in seconds granularity), return true if the message should be printed in the given timestamp, otherwise returns false.
13
-
14
-
It is possible that several messages arrive roughly at the same time.
0 commit comments