首页 > TAG信息列表 > 入列
打开转盘锁
https://leetcode.cn/problems/open-the-lock/solution/shou-hua-tu-jie-tu-bfs-lin-jie-guan-xi-7-ud8c/ func openLock(deadends []string, target string) int { step := 0 // 旋转次数 deadendsMap := make(map[string]bool) visitedMap := make(ma