3.4, due on October 6
The proof for the temporal complexity of building a heap was a little difficult to read initially, but it makes sense that the complexity of heapifying should be less than adding nodes one at a time to an empty heap. I initially thought the heap didn't make sense, because there wasn't any order to the nodes.
Heaps make a lot of intuitive sense, and they help me understand priority queues better. I'd like to learn how priority queues help solve shortest path problems.
Heaps make a lot of intuitive sense, and they help me understand priority queues better. I'd like to learn how priority queues help solve shortest path problems.
Comments
Post a Comment