Data Structures and Algorithm

This commit is contained in:
Kunwar
2021-10-12 17:39:34 +05:30
parent 66d088557c
commit f7d245563b
3 changed files with 259 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
package tree.avl;
class AVLNode{
AVLNode left, right;
int data;
int height;
public AVLNode(){
left = null;
right = null;
data = 0;
height = 0;
}
public AVLNode(int n){
left = null;
right = null;
data = n;
height = 0;
}
}