[理工] 107台大电机丙资结第19题

楼主: young60509 (帅气小安)   2019-02-09 16:02:49
https://imgur.com/a/6p4INtC
这题要怎么想?
结构长这样对吗
https://imgur.com/a/Z86Mpzm
然后best case是长这样吗
https://imgur.com/a/xTbAQjQ
那worst case呢?
作者: aeiou335 (tbrdet)   2019-02-09 20:07:00
我觉得best case 是那样worst case 应该随便排就是n^2 吧

Links booklink

Contact Us: admin [ a t ] ucptt.com