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

Method invertTree2

Week 02/id_006/LeetCode_226_006.java:40–59  ·  view source on GitHub ↗

迭代法,跟利用队列进行层序遍历的方式雷同。 @param root @return

(TreeNode root)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected