1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 06:51:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 15:21:05 +08:00
parent b84ae535b7
commit e730aa6794
2244 changed files with 8703 additions and 59499 deletions

View File

@@ -11,7 +11,7 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 735,
"likes": 736,
"dislikes": 388,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Ugly Number II\", \"titleSlug\": \"ugly-number-ii\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"18.9K\", \"totalSubmission\": \"68.4K\", \"totalAcceptedRaw\": 18933, \"totalSubmissionRaw\": 68393, \"acRate\": \"27.7%\"}",
"stats": "{\"totalAccepted\": \"19K\", \"totalSubmission\": \"68.5K\", \"totalAcceptedRaw\": 18954, \"totalSubmissionRaw\": 68494, \"acRate\": \"27.7%\"}",
"hints": [
"Write a function f(k) to determine how many ugly numbers smaller than k. As f(k) is non-decreasing, try binary search.",
"Find all ugly numbers in [1, LCM(a, b, c)] (LCM is Least Common Multiple). Use inclusion-exclusion principle to expand the result."