[理工] 資結 Big Oh 和 Little Oh 的差異

作者: qwer911 (NIEONEONE)   2017-10-09 21:17:16
根據課本定義是說
http://i.imgur.com/uiGIYhr.jpg
可是有題題目是O() not o()
要怎麼分辨
他是不是因為兩個定義看起來差不多
http://i.imgur.com/tPPPJd8.jpg
作者: s1020824 (HowardW)   2017-10-09 21:28:00
Big Oh是小於等於little oh 是小於例題你代到定義裡面就會發現在little oh 中找不到正常數c 使得 n^2<c*n^2
作者: qwer911 (NIEONEONE)   2017-10-09 21:43:00
有了解了 代定義進去就了解了 感謝

Links booklink

Contact Us: admin [ a t ] ucptt.com