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 11fb93f commit ed60d0eCopy full SHA for ed60d0e
solutions/java/treelevelorderprint renamed to solutions/java/TreeLevelOrderPrint.java
@@ -4,7 +4,7 @@
4
import java.util.LinkedList;
5
import java.util.Queue;
6
7
-public class treelevelorderprint {
+public class TreeLevelOrderPrint {
8
node root;
9
class node {
10
Integer value;
@@ -19,7 +19,7 @@ class node {
19
}
20
21
22
- public treelevelorderprint() {
+ public TreeLevelOrderPrint() {
23
root = new node();
24
25
@@ -72,7 +72,7 @@ public void levelOrder() {
72
73
74
public static void main(String[] args) {
75
- treelevelorderprint tree = new treelevelorderprint();
+ TreeLevelOrderPrint tree = new TreeLevelOrderPrint();
76
for (int i = 0; i <= 10; i++) {
77
tree.addToTree(i);
78
0 commit comments