最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網 會員登陸 & 注冊

[自學使用]算法設計與分析L1(一)

2023-04-05 03:54 作者:Kinnme  | 我要投稿

Syllabus:

????model of computation->algorithm design & analysis techniques->computation complexity

學有余力、查一些算法:https://walkccc.me/CLRS/

Algorithm:

????model of computation

????algorithm design

????algorithm analysis

Model of computation:

????machine- and language- independent?algorithms,running on an abstract machine

????turing machine

????RAM model: simple but powerful

Algorithm design:

????composition of simple operations, to solve analgorithm problem

Algorithm analysis:

????amount of?work done/ memory used (on the worst/average case)

????advanced issues (optimality, approximation ratio...)

兩個算法例子:

????1.兩個非負整數(shù)(non-negative integers)m和n最大公約數(shù)GCD(greatest common divisor)

????2.在數(shù)組E[1..n]中找到關鍵字K

正確性:(一個一個試,試不完)對于任何合法輸入(包括corner?case),輸出總是正確的

證明正確性?數(shù)學歸納法(mathematical induction)

????weak / strong principle

算法分析:標準:例子:


[自學使用]算法設計與分析L1(一)的評論 (共 條)

分享到微博請遵守國家法律
米易县| 铜陵市| 星座| 堆龙德庆县| 新兴县| 治县。| 敦化市| 丹棱县| 仲巴县| 白山市| 高密市| 育儿| 高唐县| 曲沃县| 娄底市| 海淀区| 米脂县| 耿马| 吉木乃县| 上高县| 梁平县| 天台县| 墨玉县| 塔河县| 枣强县| 肥乡县| 神池县| 鹿邑县| 榆林市| 阿巴嘎旗| 博白县| 图们市| 呈贡县| 侯马市| 铜川市| 阜康市| 太湖县| 渭南市| 高邑县| 盐池县| 璧山县|