auto commit

This commit is contained in:
CyC2018
2018-10-03 20:57:01 +08:00
parent 21f370ad25
commit 237b54ee43

View File

@ -1290,7 +1290,7 @@ Output: 0
Explanation: The endWord "cog" is not in wordList, therefore no possible transformation.
```
找出一条从 beginWord 到 endWord 的最短路径,每次移动规定为改变一个字符,并且改变之后的字符串必须在 wordList 中。
题目描述:找出一条从 beginWord 到 endWord 的最短路径,每次移动规定为改变一个字符,并且改变之后的字符串必须在 wordList 中。
```java
public int ladderLength(String beginWord, String endWord, List<String> wordList) {