mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2026-02-03 10:53:25 +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