数据结构与算法分析:第六章优先队列堆习题.pdfVIP

  • 1
  • 0
  • 约2.29万字
  • 约 13页
  • 2026-05-12 发布于北京
  • 举报

数据结构与算法分析:第六章优先队列堆习题.pdf

Chapter6:PriorityQueues(Heaps)

6.1Yes.Whenanelementisinserted,wecompareittothecurrentminimumandchangethe

minimumifthenewelementissmaller.DeleteMinoperationsareexpensiveinthis

scheme.

6.2

10

6.3TheresultofthreeDeleteMins,startingwithbothoftheheapsinExercise6.2,isasfol-

lows:

5

10

文档评论(0)

1亿VIP精品文档

相关文档