Each distinct log message may be printed at most once every 10 seconds. Decide for every incoming message whether to print it — then make it thread-safe. A Waymo onsite coding + OOD round.
Each distinct log message may be printed at most once every 10 seconds. Decide for every incoming message whether to print it — then make it thread-safe. A Waymo onsite coding + OOD round.
The discussion opens with the full question.