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-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": true,
"difficulty": "Medium",
"likes": 20,
"dislikes": 2,
"likes": 31,
"dislikes": 3,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Champagne Tower\", \"titleSlug\": \"champagne-tower\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
"exampleTestcases": "16\n2\n4",
@@ -34,7 +34,7 @@
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"538\", \"totalSubmission\": \"834\", \"totalAcceptedRaw\": 538, \"totalSubmissionRaw\": 834, \"acRate\": \"64.5%\"}",
"stats": "{\"totalAccepted\": \"758\", \"totalSubmission\": \"1.1K\", \"totalAcceptedRaw\": 758, \"totalSubmissionRaw\": 1145, \"acRate\": \"66.2%\"}",
"hints": [
"If a row has k triangles, how many cards does it take to build that row? It takes 3 * k - 1 cards.",
"If you still have i cards left, and on the previous row there were k triangles, what are the possible ways to build the current row? You can start at 1 triangle and continue adding more until you run out of cards or reach k - 1 triangles."