0359_logger-rate-limiter

command
v0.0.0-...-60194e6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2020 License: Unlicense Imports: 0 Imported by: 0

README

0359_logger-rate-limiter

https://leetcode.com/problems/logger-rate-limiter/

用map去存log的记录

值得注意的前提:

  1. 过来的log应该是按照实际情况增大timestamp的

实际使用过程中:

  1. log的timestamp不一定完全递增
  2. 用来记录的map需要定时(?)清理

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL