DIY: Logger Rate Limiter

Solve the interview question "Logger Rate Limiter" in this lesson.

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 ...