Merge pull request #2423 from 0zz10/patch-3

Update 0127.单词接龙.md
This commit is contained in:
程序员Carl
2024-02-05 11:22:51 +08:00
committed by GitHub

View File

@ -198,7 +198,7 @@ class Solution {
### Python
```
```python
class Solution:
def ladderLength(self, beginWord: str, endWord: str, wordList: List[str]) -> int:
wordSet = set(wordList)