计算机算法导论_第8章.pptVIP

  • 14
  • 0
  • 约3.14千字
  • 约 57页
  • 2020-07-23 发布于浙江
  • 举报
Introduction to Algorithms 计算机算法导论 2007~2008年第一学期 Sorting and Order Statistics Introduction Sorting problem Definition: Input: A sequence a1, a2, …, an of numbers. Output: A permutation a1, a2, …, an, such that a1 ≤ a2 ≤ … ≤ an . The structure of the data Definition: Record = key + satellite data Assumption: The input consists only of numbers Why sorting? The need inherent in an application Algorithms often use sorting as a key subroutine A wide variety of sorting algorithms, a rich set of techniques A problem can be proved a nontrivial lower bound. Many engineering issues come to fore wh

文档评论(0)

1亿VIP精品文档

相关文档