We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75d4a67 commit fde87b1Copy full SHA for fde87b1
1 file changed
Python/word-ladder-ii.py
@@ -37,7 +37,7 @@ def findLadders(self, start, end, dict):
37
for word in cur:
38
visited.add(word)
39
40
- next = set([])
+ next = set()
41
42
for i in xrange(len(word)):
43
for j in 'abcdefghijklmnopqrstuvwxyz':
0 commit comments