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);
Thanks, I found what was causing the problem for this!
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...
Thank you sir, I didn't know that was the line the error was on!
I will check it out and let you know how it goes.
Hello!
I am currently working on an assignment and I have been stuck with a NullPointerException.
I am making a Priority Queue (PQ) as one part of the assignment i'm working on.
Firstly, if...