1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 15:01: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,7 +11,7 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 208,
"likes": 215,
"dislikes": 20,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Number of Good Pairs\", \"titleSlug\": \"number-of-good-pairs\", \"difficulty\": \"Easy\", \"translatedTitle\": null}, {\"title\": \"Count Nice Pairs in an Array\", \"titleSlug\": \"count-nice-pairs-in-an-array\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Replace Non-Coprime Numbers in Array\", \"titleSlug\": \"replace-non-coprime-numbers-in-array\", \"difficulty\": \"Hard\", \"translatedTitle\": null}]",
@@ -161,7 +161,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"15.3K\", \"totalSubmission\": \"35.7K\", \"totalAcceptedRaw\": 15282, \"totalSubmissionRaw\": 35724, \"acRate\": \"42.8%\"}",
"stats": "{\"totalAccepted\": \"15.8K\", \"totalSubmission\": \"36.7K\", \"totalAcceptedRaw\": 15776, \"totalSubmissionRaw\": 36666, \"acRate\": \"43.0%\"}",
"hints": [
"Store the rectangle height and width ratio in a hashmap.",
"Traverse the ratios, and for each ratio, use the frequency of the ratio to add to the total pair count."