最近有個熱門的討論話題就是計算費氏數列的複雜度到底是O(1) 還是O(n) ... 把這個式子轉換變成程式碼int Identity(int i) { if (i == 1) return 1; ...
確定! 回上一頁