Do the following steps individually, then confer with your neighbor(s):
- Write down the code for buildHeap() (feel free to use bubbleDown()).
- Show the resulting heap and its corresponding array after each iteration of buildHeap() given the following initial array:
- What is the Big-Oh for buildHeap()?
Last Modified: