Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit44aeeb1

Browse files
edit 572
1 parentc277329 commit44aeeb1

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)

[8]ページ先頭

©2009-2025 Movatter.jp