Number of Recent Calls
Design a counter whose ping operation records a strictly increasing timestamp and returns how many recorded requests fall within the inclusive interval from t-3000 through t.
Design a counter whose ping operation records a strictly increasing timestamp and returns how many recorded requests fall within the inclusive interval from t-3000 through t.