DIY: Logger Rate Limiter
Explore the design and implementation of a logger rate limiter that prints messages only if they have not appeared in the last 5 seconds. Understand how to process message streams and timestamps efficiently while practicing a common coding interview problem inspired by Facebook.
We'll cover the following...
We'll cover the following...
Problem statement
Design a logger system that receives a stream of messages and their timestamps. Each message should be printed if and only if it is not printed in the last ...