Thanks for the reply!
This is my input
Node temp = new Node(4,(4+5), null);
p.enter(temp);
Node temp1 = new Node(5,(2+5), null);
p.enter(temp1);
Type: Posts; User: OverZealous
Thanks for the reply!
This is my input
Node temp = new Node(4,(4+5), null);
p.enter(temp);
Node temp1 = new Node(5,(2+5), null);
p.enter(temp1);
Hi,
I was having a problem with a null pointer exception originally, but I managed to fix that. Now however I am not getting the correct output for my PQ Heap.
Firstly, I don't think they are...