When inserting an element in a priority queue and the heap size is already at max capacity, should you output an error OR increase the array size?
I decided to go with option B, as it seems like the more practical thing to do.