西安电子科技大学计算机学院算法分析与设计 Chapter6.pdfVIP

  • 30
  • 0
  • 约1.98万字
  • 约 25页
  • 2019-05-05 发布于广东
  • 举报

西安电子科技大学计算机学院算法分析与设计 Chapter6.pdf

Design and Analysis of Algorithms Heaps and Heapsort Reference: CLRS Chapter 6 Topics: • Heaps • Heapsort • Priority queue Huo Hongwei 1 Recap and overview • The story so far . . . 2 – Insertion sort running time of Θ(n ); sorts in place. – Merge sort running time of Θ(n lg n); needs auxiliary storage Θ(n). • Next . . . – Heapsort running time of Θ(n lg n); sort in place. – Quicksort running time of Θ(n lg

文档评论(0)

1亿VIP精品文档

相关文档