Skip to content

Commit ba92b20

Browse files
committed
README table added with AVL
1 parent 035c437 commit ba92b20

File tree

4 files changed

+5
-15
lines changed

4 files changed

+5
-15
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ I have made this GitHub repository containing all the internal collection framew
1919
</tr>
2020

2121
<tr> <td>3</td> <td><a href="https://github.com/nisabmohd/DS-Implementations/tree/master/src/Trees">Trees</a><td>
22-
<table> <thead> <tr> <th>S.NO</th> <th>Data Structure </th> </tr> </thead> <tbody> <tr> <td>3.1</td> <td><a href="https://github.com/nisabmohd/DS-Implementations/blob/master/src/Trees/BinaryTree.java">BinaryTree</a></td> </tr><tr> <td>3.2</td> <td><a href="https://github.com/nisabmohd/Data-Structures/blob/master/src/Trees/BinarySearchTree.java">BinarySearchTree</a></td> </tr><tr> <td>3.3</td> <td><a href="https://github.com/nisabmohd/DS-Implementations/blob/master/src/Trees/N_ary.java">N_Arry Tree</a></td> </tr> </tbody> </table> </td><td><a href="https://github.com/nisabmohd/Data-Structures/blob/master/src/Trees/BTree.java">BTree</a></td> </tr>
22+
<table> <thead> <tr> <th>S.NO</th> <th>Data Structure </th> </tr> </thead> <tbody> <tr> <td>3.1</td> <td><a href="https://github.com/nisabmohd/DS-Implementations/blob/master/src/Trees/BinaryTree.java">BinaryTree</a></td> </tr><tr> <td>3.2</td> <td><a href="https://github.com/nisabmohd/Data-Structures/blob/master/src/Trees/BinarySearchTree.java">BinarySearchTree</a></td> </tr><tr> <td>3.3</td> <td><a href="https://github.com/nisabmohd/DS-Implementations/blob/master/src/Trees/N_ary.java">N_Arry Tree</a></td>
23+
</tr>
24+
tr> <td>3.4</td> <td><a href="https://github.com/nisabmohd/Data-Structures/blob/master/src/Trees/AVL.java">AVL Tree</a></td>
25+
</tr>
26+
</tbody> </table> </td><td><a href="https://github.com/nisabmohd/Data-Structures/blob/master/src/Trees/BTree.java">BTree</a></td> </tr>
2327

2428
<tr> <td>4</td> <td><a href="https://github.com/nisabmohd/DS-Implementations/tree/master/src/Maps">Maps</a></td><td>
2529
<table> <thead> <tr> <th>S.NO</th> <th>Data Structure </th> </tr> </thead> <tbody> <tr> <td>4.1</td> <td><a href="https://github.com/nisabmohd/DS-Implementations/blob/master/src/Maps/HashMapCustom.java">HashMap</a></td> </tr><tr> <td>4.2</td> <td><a href="https://github.com/nisabmohd/DS-Implementations/blob/master/src/Maps/LinkedHashMapCustom.java">LinkedHashMap</a></td> </tr><tr> <td>4.3</td> <td><a href="https://github.com/nisabmohd/DS-Implementations/blob/master/src/Maps/TreeMapCustom.java">TreeMap</a></td> </tr> </tbody> </table> </td><td> Hash Collision , Hashing</td> </tr>

build/classes/Trees/AVL.class

-836 Bytes
Binary file not shown.

build/classes/Trees/Main.class

-143 Bytes
Binary file not shown.

src/Trees/AVL.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -148,18 +148,4 @@ public String toString() {
148148
return inOrder().toString();
149149
}
150150

151-
public void display() {
152-
display(root);
153-
}
154-
155-
private void display(AVLNode node) {
156-
if (node == null) {
157-
System.out.print(null + " ");
158-
return;
159-
}
160-
System.out.print(node.val + " ");
161-
display(node.left);
162-
display(node.right);
163-
}
164-
165151
}

0 commit comments

Comments
 (0)