Slides for Rosen, 5th edition - Computer Science - WPI精品.pptVIP

  • 4
  • 0
  • 约2.3万字
  • 约 79页
  • 2018-04-22 发布于湖北
  • 举报

Slides for Rosen, 5th edition - Computer Science - WPI精品.ppt

Slides for Rosen, 5th edition - Computer Science - WPI精品

* (c)2001-2003, Michael P. Frank * §9.2: Applications of Trees Binary search trees A simple data structure for sorted lists Decision trees Minimum comparisons in sorting algorithms Prefix codes Huffman coding Game trees * (c)2001-2003, Michael P. Frank * Binary Search Trees A representation for sorted sets of items. Supports the following operations in Θ(log n) average-case time: Searching for an existing item. Inserting a new item, if not already present. Supports printing out all items in Θ(n) time. Note that inserting into a plain sequence ai would instead take Θ(n) worst-case time. * (c)20

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档