MCPcopy Create free account
hub / github.com/algorithm004-01/algorithm004-01 / getDistance

Method getDistance

Week 03/id_006/LeetCode_126_006.java:43–84  ·  view source on GitHub ↗

广度优先搜索,获取到最短路径上,字符串所在节点的深度 @param beginWord @param endWord @param wordList @return

(String beginWord, String endWord, Set<String> wordList)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

findLaddersMethod · 0.95

Calls 7

equalsMethod · 0.80
containsMethod · 0.80
sizeMethod · 0.65
putMethod · 0.65
isEmptyMethod · 0.45
containsKeyMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected