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

Function ladderLength

Week 03/id_531/leetCode_127_531.go:23–69  ·  view source on GitHub ↗

func ladderLength(beginWord string, endWord string, wordList []string) int { // 所有的单词都是一个长度 lth := len(beginWord) //通用状态树 grapMap := createStateGraph(wordList) return 0 } func createStateGraph(words []string) map[string][]string { result := make(map[string][]string) for _, word := range wor

(beginWord string, endWord string, wordList []string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected