mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
update
This commit is contained in:
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"674.6K\", \"totalSubmission\": \"1.6M\", \"totalAcceptedRaw\": 674613, \"totalSubmissionRaw\": 1619892, \"acRate\": \"41.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"674.7K\", \"totalSubmission\": \"1.6M\", \"totalAcceptedRaw\": 674698, \"totalSubmissionRaw\": 1620078, \"acRate\": \"41.6%\"}",
|
||||
"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."
|
||||
],
|
||||
|
Reference in New Issue
Block a user