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": "Easy",
"likes": 389,
"dislikes": 74,
"likes": 396,
"dislikes": 75,
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": "\"a0b1c2\"\n\"leetcode\"\n\"1229857369\"",
@@ -137,7 +137,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"41.9K\", \"totalSubmission\": \"74.3K\", \"totalAcceptedRaw\": 41900, \"totalSubmissionRaw\": 74307, \"acRate\": \"56.4%\"}",
"stats": "{\"totalAccepted\": \"42.4K\", \"totalSubmission\": \"75.3K\", \"totalAcceptedRaw\": 42442, \"totalSubmissionRaw\": 75349, \"acRate\": \"56.3%\"}",
"hints": [
"Count the number of letters and digits in the string. if cntLetters - cntDigits has any of the values [-1, 0, 1] we have an answer, otherwise we don't have any answer.",
"Build the string anyway as you wish. Keep in mind that you need to start with the type that have more characters if cntLetters ≠ cntDigits."