1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 15:31:43 +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

@@ -173,7 +173,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"48.8K\", \"totalSubmission\": \"103.4K\", \"totalAcceptedRaw\": 48822, \"totalSubmissionRaw\": 103362, \"acRate\": \"47.2%\"}",
"stats": "{\"totalAccepted\": \"48.8K\", \"totalSubmission\": \"103.4K\", \"totalAcceptedRaw\": 48835, \"totalSubmissionRaw\": 103394, \"acRate\": \"47.2%\"}",
"hints": [
"We want to perform an exhaustive search, but we need to speed it up based on the input data being random. \r\n\r\nFor all stickers, we can ignore any letters that are not in the target word. \r\n\r\nWhen our candidate answer won't be smaller than an answer we have already found, we can stop searching this path. \r\n\r\nWhen a sticker dominates another, we shouldn't include the dominated sticker in our sticker collection. [Here, we say a sticker `A` dominates `B` if `A.count(letter) >= B.count(letter)` for all letters.]"
],