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

Commit a1de7fd

Browse files
Binary search tree,
added repo for geeks for geeks
1 parent e4fe961 commit a1de7fd

File tree

15 files changed

+501
-778
lines changed

15 files changed

+501
-778
lines changed

‎src/dsGuy/binaryTree/BinaryTreeByArrayMain.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ public static void main(String[] args) {
1212

1313
//Insert 10 values in the tree
1414
System.out.println("Inserting 10 values in the Tree...");
15-
for(int i=1; i<=10; i++){
16-
tree.insert(i*10);
15+
for(int i=1; i<=15; i++){
16+
tree.insert(i);
1717
}
1818

1919

‎src/dsGuy/binaryTree/BinaryTreeByLinkedListMain.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ public static void main(String[] args) {
1111

1212
//Insert 10 nodes in the tree
1313
System.out.println("Inserting 10 nodes to tree");
14-
for(int i=1;i<=10;i++)
15-
tree.insert(i*10);
14+
for(int i=1;i<=15;i++)
15+
tree.insert(i);
1616

1717

1818
System.out.println("\nLevel-order of tree:");

‎src/eliminateCodeFear/datastructures/binarySearchTree/BinaryNode.java

Lines changed: 0 additions & 46 deletions
This file was deleted.

‎src/eliminateCodeFear/datastructures/binarySearchTree/BinarySearchTreeByLinkedList.java

Lines changed: 0 additions & 182 deletions
This file was deleted.

‎src/eliminateCodeFear/datastructures/binarySearchTree/BinarySearchTreeByLinkedListMain.java

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /