void log_hits() and
log_hits() - called every time someone visits the website.
get_hits() - returns number of hits in the last 5 minutes
Follow up : What if the website gets millions of hits in 5 minutes?
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.