- 最後登錄
- 2022-10-5
- 在線時間
- 2 小時
- 註冊時間
- 2016-5-1
- 閱讀權限
- 20
- 精華
- 0
- UID
- 16387415
- 帖子
- 22
- 積分
- 47 點
- 潛水值
- 4070 米
| 如果瀏覽伊莉時速度太慢或無法連接,可以使用其他分流瀏覽伊莉,www01.eyny.com(02,03)。 有幾個複雜度的問題想請問各位大大
1.What is the time complexity and space complexity of Fibanacci implementation usingrecurrence (i.e., F(n)=F(n-1)+F(n-2))
這個我知道
Time Complexity:O(2^n)
Space Complexity: O(n)... |
|