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

Method isSameTree

src/main/java/L0100_SameTree.java:72–87  ·  view source on GitHub ↗

判断两棵二叉树是否相同 使用递归的方式,同时遍历两棵树的对应节点进行比较

(TreeNode p, TreeNode q)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected