Back to Questions

Design a Logger Rate Limiter

29.3K viewsAsked 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.

Practice with This Question
Design a Logger Rate Limiter - Interview Question