MCPcopy Create free account
hub / github.com/Jensenczx/CodeEveryday / isSubtree

Method isSubtree

41_isSubtree.java:6–18  ·  view source on GitHub ↗

@param T1, T2: The roots of binary tree. @return: True if T2 is a subtree of T1, or false.

(TreeNode T1, TreeNode T2)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

isSubtree1Method · 0.95

Tested by

no test coverage detected