p*g 发帖数: 141 | 1 input output expected
"a", "c", ["a","b","c"] 2 2
"hot", "dog", ["hot","dog"] 0 0
"hot", "dog", ["hot","dog","dot"] 3 3
"hot", "dot", ["hot","dot","dog"] 2 2
"hot", "dog", ["hot","cog","dog","tot","hog","hop","pot","dot"] 3 3
"hot", "hot", ["hot"] 0 0
"hot", "hot", ["hot","dot"] 0 3
"dog", "dog", ["din","dog","dig","don","tag"] 0 3
这里的最后两个test cases应该不对吧 | f*******t 发帖数: 7549 | 2 start end相等时不能直接返回0,每次必须变一个字母 | P*******b 发帖数: 1001 | 3 start end都相等了,为啥还需要变呢?
【在 f*******t 的大作中提到】 : start end相等时不能直接返回0,每次必须变一个字母
| p*****2 发帖数: 21240 | 4 我觉得test case绝对有问题。希望leetcode能更新一下。 |
|