MCPcopy Create free account
hub / github.com/aizk/algorithm-practice / widthOfBinaryTree

Function widthOfBinaryTree

tree/0662-maximum-width-of-binary-tree/main.go:80–82  ·  view source on GitHub ↗

根据题意,单纯的 BFS 还不行,需要一些变化

(root *TreeNode)

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