1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 07:21:40 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -11,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 143,
"dislikes": 27,
"likes": 161,
"dislikes": 29,
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": "[\"AuthenticationManager\",\"renew\",\"generate\",\"countUnexpiredTokens\",\"generate\",\"renew\",\"renew\",\"countUnexpiredTokens\"]\n[[5],[\"aaa\",1],[\"aaa\",2],[6],[\"bbb\",7],[\"aaa\",8],[\"bbb\",10],[15]]",
@@ -143,7 +143,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"9.5K\", \"totalSubmission\": \"18K\", \"totalAcceptedRaw\": 9499, \"totalSubmissionRaw\": 18020, \"acRate\": \"52.7%\"}",
"stats": "{\"totalAccepted\": \"10.5K\", \"totalSubmission\": \"19.5K\", \"totalAcceptedRaw\": 10502, \"totalSubmissionRaw\": 19488, \"acRate\": \"53.9%\"}",
"hints": [
"Using a map, track the expiry times of the tokens.",
"When generating a new token, add it to the map with its expiry time.",