mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-08 08:51:42 +08:00
update
This commit is contained in:
@@ -167,7 +167,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"8.5K\", \"totalSubmission\": \"19.3K\", \"totalAcceptedRaw\": 8525, \"totalSubmissionRaw\": 19318, \"acRate\": \"44.1%\"}",
|
||||
"stats": "{\"totalAccepted\": \"8.5K\", \"totalSubmission\": \"19.3K\", \"totalAcceptedRaw\": 8533, \"totalSubmissionRaw\": 19329, \"acRate\": \"44.1%\"}",
|
||||
"hints": [
|
||||
"The final answer is the price[i] * freq[i], where freq[i] is the number of times node i was visited during the trip, and price[i] is the final price.",
|
||||
"To find freq[i] we will use dfs or bfs for each trip and update every node on the path start and end.",
|
||||
|
Reference in New Issue
Block a user