Search:

Type: Posts; User: yooste89

Search: Search took 0.28 seconds.

  1. Re: Creating and Using a Heap. Index out of Bounds

    oh duh, thanks pbrock works perfectly now.
  2. Re: Creating and Using a Heap. Index out of Bounds

    Ok sorry guys, after immediately posting this I figured out my last else was pairing with the wrong if. Sorry about that, but I do have another question.
    When i'm removing elements from my driver...
  3. Creating and Using a Heap. Index out of Bounds

    Hey guys, I'm currently trying to build and use a heap so I created the two following classes.



    import java.util.*;

    public class MyHeap<E extends Comparable<E>>
    {
    private int size = 0;
    ...
Results 1 to 3 of 3