Allow each client at most N requests in any rolling window of W seconds. Implement allow() — a Waymo phone screen and onsite coding question.
Allow each client at most N requests in any rolling window of W seconds. Implement allow() — a Waymo phone screen and onsite coding question.
The discussion opens with the full question.