Skip to content

Commit c31aab7

Browse files
committed
Added Treap class and test for the same
1 parent bcaebd1 commit c31aab7

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/thealgorithms/datastructures/trees

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/datastructures/trees/Treap.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public Treap() {
6767
}
6868

6969
public Treap(int[] nodeValues) {
70-
for (int nodeValue : nodeValues) this.insert(nodeValue);
70+
for (int nodeValue : nodeValues) insert(nodeValue);
7171
}
7272

7373
/**

0 commit comments

Comments
 (0)