What is big-O notation?function fib(n)if n
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/23 16:54:12
Whatisbig-Onotation?functionfib(n)ifnWhatisbig-Onotation?functionfib(n)ifnWhatisbig-Onotation?functi
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.