We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7294be commit 5aa1996Copy full SHA for 5aa1996
src/main/java/com/fishercoder/solutions/_572.java
@@ -4,6 +4,7 @@
4
5
/**
6
* 572. Subtree of Another Tree
7
+ *
8
Given two non-empty binary trees s and t,
9
check whether tree t has exactly the same structure and node values with a subtree of s.
10
A subtree of s is a tree consists of a node in s and all of this node's descendants. The tree s could also be considered as a subtree of itself.
0 commit comments