Back to QuestionsPractice with This Question
Design a Logger Rate Limiter
29.3K views•Asked at Meta•
Medium
Question Explain
Design a logger system that receives a stream of messages along with their timestamps. Only print each message if it is not printed in the last 10 seconds. Use a Hash Set and Hash Map.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.