修改错别字

This commit is contained in:
Logen
2023-01-11 13:08:06 -06:00
parent aad6b8cee2
commit a8339121e6

View File

@ -148,7 +148,7 @@ class Solution {
### Python ### Python
```python ```python
class Solution: class Solution:
# 思路1优先考虑胃饼干 # 思路1优先考虑小胃口
def findContentChildren(self, g: List[int], s: List[int]) -> int: def findContentChildren(self, g: List[int], s: List[int]) -> int:
g.sort() g.sort()
s.sort() s.sort()
@ -160,7 +160,7 @@ class Solution:
``` ```
```python ```python
class Solution: class Solution:
# 思路2优先考虑胃口 # 思路2优先考虑胃口
def findContentChildren(self, g: List[int], s: List[int]) -> int: def findContentChildren(self, g: List[int], s: List[int]) -> int:
g.sort() g.sort()
s.sort() s.sort()