




已阅读5页,还剩32页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Introduction to Algorithms 计算机算法导论,20072008年第一学期,Quiz(10 minutes),Question Suppose we are comparing implementations of insertion sort and merge sort on the same machine. For inputs of size n, insertion sort runs in 8n2 steps, while merge sort runs in 64nlgn steps. For which values of n does insertion sort beat merge sort? (n44) What is the smallest value of n such that an algorithm whose running time is 100n2 runs faster than an algorithm whose running time is 2n on the same machine? (n=15),Quiz(10 minutes),Question Use mathematical induction to show that when n is an exact power of 2, the solution of the recurrence is T(n) = nlgn. What is the worst-case running time of an algorithm? Why the worst-case running time is concentrated on?,3、Growth of Functions,Introducing several standard methods for simplifying the asymptotic analysis of algorithms. Defining several types of asymptotic notation Reviewing the behavior of functions in the analysis of algorithms,3.1、Asymptotic notation,Alphabet, (theta) (omicron, “big-oh/little-oh”) (omega, “big-omega/little-omega”),-notation,-notation,-notation,-notation,-notation,-notation,-notation,Asymptotic notation in equations,Asymptotic notation in equations,Asymptotic notation in equations,-notation,-notation,Comparison of functions,Comparison of functions,Comparison of functions,3.2 Standard notations and common functions,Standard notations and common functions,Standard notations and common functions,Standard notations and common functions,Logarithms,Standard no
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 社区信息化配套服务协议简单版样式4篇
- 2025行业国际化发展策略分析
- 中国银行2025阿坝藏族羌族自治州结构化面试15问及话术
- 邮储银行2025宁德市秋招无领导小组面试案例题库
- 中国银行2025深圳市半结构化面试15问及话术
- 建设银行2025鄂尔多斯市半结构化面试15问及话术
- 北京大学爱心捐赠协议书4篇
- 工商银行2025乌鲁木齐市秋招笔试价值观测评题专练及答案
- 工商银行2025佳木斯市信息科技岗笔试题及答案
- 借用个体工商户协议3篇
- 配电网工程典型设计-配电站房工程设计
- GB/T 29256.5-2012纺织品机织物结构分析方法第5部分:织物中拆下纱线线密度的测定
- GB/T 27021.1-2017合格评定管理体系审核认证机构要求第1部分:要求
- 医疗安全不良事件培训考核试题及答案
- 2023年安康市交通建设投资集团有限公司招聘笔试题库及答案解析
- 宫颈裂伤修补术课件
- 超星尔雅美学原理课后习题与考试答案
- 药剂学:第二章 药物的物理化学相互作用课件
- API-650-1钢制焊接石油储罐
- 游泳救生员(初级)理论复习试题与答案
- 科技创新领军人才申请表
评论
0/150
提交评论