MCPcopy Create free account
hub / github.com/Reaper622/DataStructure-Algorithm-TS / Mirror

Function Mirror

DataStructure/BinaryTree/Mirror.ts:9–17  ·  view source on GitHub ↗

* 使一个二叉树变化为他的镜像 * 即交换左右节点位置 * * @param {TreeNode} root

(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