diff --git a/problems/0383.赎金信.md b/problems/0383.赎金信.md index c2d80d8d..75729437 100644 --- a/problems/0383.赎金信.md +++ b/problems/0383.赎金信.md @@ -206,6 +206,7 @@ class Solution: class Solution: def canConstruct(self, ransomNote: str, magazine: str) -> bool: return all(ransomNote.count(c) <= magazine.count(c) for c in set(ransomNote)) + ``` Go: