MCPcopy Create free account
hub / github.com/algorithm004-03/algorithm004-03 / ladderLength

Method ladderLength

Week 03/id_118/LeetCode_127_118.py:38–49  ·  view source on GitHub ↗

main method body :param beginWord: word to start :param endWord: target end word :param wordList: word lists :return: steps

(self, beginWord, endWord, wordList)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

_construct_dictMethod · 0.95
bfsMethod · 0.95

Tested by

no test coverage detected