oh duh, thanks pbrock works perfectly now.
Type: Posts; User: yooste89
oh duh, thanks pbrock works perfectly now.
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...
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;
...