Search:

Type: Posts; User: OverZealous

Search: Search took 0.29 seconds.

  1. Re: Priority Queue Heap Incorrect Output & No File found Scanner

    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);
  2. Replies
    3
    Views
    234

    [SOLVED] Re: Priority Queue Null Pointer Exception

    Thanks, I found what was causing the problem for this!
  3. Priority Queue Heap Incorrect Output & No File found Scanner

    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...
  4. Replies
    3
    Views
    234

    [SOLVED] Re: Priority Queue Null Pointer Exception

    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.
  5. Replies
    3
    Views
    234

    [SOLVED] Priority Queue Null Pointer Exception

    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...
Results 1 to 5 of 5