国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

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

[自學使用]算法設計與分析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(一)的評論 (共 條)

分享到微博請遵守國家法律
尚义县| 盐亭县| 石景山区| 阳泉市| 桑日县| 肃南| 永清县| 吴堡县| 石柱| 鄯善县| 长治市| 仲巴县| 当雄县| 萨迦县| 宁津县| 扬中市| 筠连县| 儋州市| 梅州市| 天峨县| 青州市| 云阳县| 定安县| 六安市| 上蔡县| 邻水| 文化| 康马县| 湘乡市| 珠海市| 铜陵市| 嘉兴市| 定边县| 读书| 江西省| 买车| 获嘉县| 阿坝| 福建省| 桑日县| 靖州|