数学D1

数学D1 扫二维码继续学习

高立新
(2人)

免费

该课程为限制课程
请联系客服

ending of sort: sort complete. 

ascending/descending power is important.

maximum total number of swapping is n*(n-1)/2

comparision number is n-1

quick sort 

(n+1)/2 then round up use it as a pivot.

in D1 we always round up.

setp1: choose pivot

step2: write down all the items that r greater/less than the pivot, in front of/behind the pivot.

step3: repeat until the sort complete.

 

[展开全文]
3705************25 · 2021-10-21 · 0

要看谁依赖于谁,找直接的依赖关系

优先表和活动图要相互转化

Dumy有方向,表示特殊的关系

是不占用时间和金钱的

[展开全文]

russian peasant's algorithm

[展开全文]

相关课程

授课教师