Skip to content

Commit

Permalink
Merge pull request youngyangyang04#2113 from rosethorn999/patch
Browse files Browse the repository at this point in the history
chore: Missing language name
  • Loading branch information
youngyangyang04 authored Jun 15, 2023
2 parents 2d95c77 + 08823a2 commit ff3f402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion problems/0383.赎金信.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ class Solution {

```

Python:
(版本一)使用数组
```python
class Solution:
Expand Down Expand Up @@ -210,7 +211,6 @@ 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:
Expand Down

0 comments on commit ff3f402

Please sign in to comment.