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 266c6ce commit 7a3dcc0Copy full SHA for 7a3dcc0
group18/1787597051/src/com/coding/basic/BinaryTreeNode.java
@@ -0,0 +1,32 @@
1
+package com.coding.basic;
2
+
3
+public class BinaryTreeNode {
4
5
+ private Object data;
6
+ private BinaryTreeNode left;
7
+ private BinaryTreeNode right;
8
9
+ public Object getData() {
10
+ return data;
11
+ }
12
+ public void setData(Object data) {
13
+ this.data = data;
14
15
+ public BinaryTreeNode getLeft() {
16
+ return left;
17
18
+ public void setLeft(BinaryTreeNode left) {
19
+ this.left = left;
20
21
+ public BinaryTreeNode getRight() {
22
+ return right;
23
24
+ public void setRight(BinaryTreeNode right) {
25
+ this.right = right;
26
27
28
+ public BinaryTreeNode insert(Object o){
29
+ return null;
30
31
32
+}
0 commit comments