MCPcopy Create free account
hub / github.com/LjyYano/LeetCode / isMirror

Method isMirror

src/main/java/L0101_SymmetricTree.java:76–93  ·  view source on GitHub ↗

判断两个子树是否互为镜像 两个子树互为镜像的条件: 1. 它们的根节点值相等 2. 每个树的左子树与另一个树的右子树镜像对称

(TreeNode left, TreeNode right)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

isSymmetricMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected