mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 15:01:40 +08:00
update
This commit is contained in:
@@ -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."
|
||||
|
Reference in New Issue
Block a user