Skip to content
Snippets Groups Projects
Commit 2de054e3 authored by loick.pipolo's avatar loick.pipolo
Browse files

test

parent 4a6a79cc
No related branches found
No related tags found
No related merge requests found
public class BinaryHeap{
private int[] heap;
public BinaryHeap(){
this.heap = new int[10];
}
public BinaryHeap(int[] values){
int[] newHeap = new int[values.length];
for (int value : values){
for (int i = 0; i < newHeap.length; i++){
}
System.out.println(newHeap[1]);
}
this.heap = newHeap;
}
public static void main(String[] args){
BinaryHeap test = new BinaryHeap(new int[]{10,2});
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment