1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-07 00:11:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 19:57:46 +08:00
parent 9bc4722a45
commit 3770b44d1e
4792 changed files with 10889 additions and 10886 deletions

View File

@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"394K\", \"totalSubmission\": \"880.3K\", \"totalAcceptedRaw\": 393961, \"totalSubmissionRaw\": 880291, \"acRate\": \"44.8%\"}",
"stats": "{\"totalAccepted\": \"394K\", \"totalSubmission\": \"880.4K\", \"totalAcceptedRaw\": 394020, \"totalSubmissionRaw\": 880411, \"acRate\": \"44.8%\"}",
"hints": [
"Since House[1] and House[n] are adjacent, they cannot be robbed together. Therefore, the problem becomes to rob either House[1]-House[n-1] or House[2]-House[n], depending on which choice offers more money. Now the problem has degenerated to the <a href =\"https://leetcode.com/problems/house-robber/description/\">House Robber</a>, which is already been solved."
],