原本題目:42。下列程式 Big-0 notation 為
修改成為42。下列程式 Big-0 notation 為
https://noob.tw/data-structure
[(0+(n-2))*n]/2
=(n^2-2n)/2
保留最高項答案就出來n^2
42.下列程式 Big-O notation 為 (A)O(1)(B)O(N)(..-阿摩線上測驗