What is big-O notation?function fib(n)if n

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/13 02:16:07

What is big-O notation?function fib(n)if n
What is big-O notation?
function fib(n)
if n

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.