the heap refill code was recursively implemented with two methods. I merged both methods. replace recursion in heap refill method with iterative approach use array for list of LongQueue This way there is no precondition when accessing the elements
the heap refill code was recursively implemented with two methods. I merged both methods. replace recursion in heap refill method with iterative approach use array for list of LongQueue This way there is no precondition when accessing the elements