What is big-O notation?function fib(n)if n
来源:学生作业帮助网 编辑:作业帮 时间:2024/05/15 19:30:46
What is big-O notation?
function fib(n)
if n
O(fib(n))
it means the max steps you need to take.
Itz not a good algorithm,by the way,use the for loop.
收录互联网各类作业题目,免费共享学生作业习题
慧海网手机作业共收录了 千万级 学生作业题目
来源:学生作业帮助网 编辑:作业帮 时间:2024/05/15 19:30:46
What is big-O notation?
function fib(n)
if n
O(fib(n))
it means the max steps you need to take.
Itz not a good algorithm,by the way,use the for loop.