Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 44aeeb1

Browse files
edit 572
1 parent c277329 commit 44aeeb1

File tree

1 file changed

+3
-1
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+3
-1
lines changed

src/main/java/com/fishercoder/solutions/_572.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
/**
66
* 572. Subtree of Another Tree
7-
Given two non-empty binary trees s and t, check whether tree t has exactly the same structure and node values with a subtree of s. 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.
7+
Given two non-empty binary trees s and t,
8+
check whether tree t has exactly the same structure and node values with a subtree of s.
9+
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.
810
911
Example 1:
1012
Given tree s:

0 commit comments

Comments
 (0)