mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-11 04:54:51 +08:00
Update 0127.单词接龙.md
Fix syntax highlight
This commit is contained in:
@ -198,7 +198,7 @@ class Solution {
|
|||||||
|
|
||||||
### Python
|
### Python
|
||||||
|
|
||||||
```
|
```python
|
||||||
class Solution:
|
class Solution:
|
||||||
def ladderLength(self, beginWord: str, endWord: str, wordList: List[str]) -> int:
|
def ladderLength(self, beginWord: str, endWord: str, wordList: List[str]) -> int:
|
||||||
wordSet = set(wordList)
|
wordSet = set(wordList)
|
||||||
|
Reference in New Issue
Block a user