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

Commit532abe8

Browse files
author
jsquared21
committed
Add Ex 25.14
1 parentbda938d commit532abe8

19 files changed

+689
-0
lines changed
554 Bytes
Binary file not shown.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
publicabstractclassAbstractTree<E>
2+
implementsTree<E>{
3+
@Override/** Inorder traversal from the root */
4+
publicvoidinorder() {
5+
}
6+
7+
@Override/** Postorder traversal from the root */
8+
publicvoidpostorder() {
9+
}
10+
11+
@Override/** Preorder traversal from the root */
12+
publicvoidpreorder() {
13+
}
14+
15+
@Override/** Return true if the tree is empty */
16+
publicbooleanisEmpty() {
17+
returngetSize() ==0;
18+
}
19+
}
1.37 KB
Binary file not shown.
1.37 KB
Binary file not shown.
506 Bytes
Binary file not shown.
5.79 KB
Binary file not shown.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp