mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-07 07:35:35 +08:00
@ -198,7 +198,7 @@ class Solution {
|
||||
|
||||
### Python
|
||||
|
||||
```
|
||||
```python
|
||||
class Solution:
|
||||
def ladderLength(self, beginWord: str, endWord: str, wordList: List[str]) -> int:
|
||||
wordSet = set(wordList)
|
||||
|
Reference in New Issue
Block a user