CSD201_-_SU_2023_-_Block_5_-_FE_736.webp
Kokushibo91

CSD201_-_SU_2023_-_Block_5_-_FE_736.webp

(Choose 1 answer)
A. 5
B. 2
C. 3
D. 4
int h(int n)
{if (n == 0 || n==1)return(1);
else
return(h(n-1)+h(n-2));
}
Suppose the h(n) function is defined on the set of integer numbers as below.For the call h(3), how many calls to h will be made, including the original call?

Ext 24
antonis ni

Thông tin

Category
CSD201
Thêm bởi
Kokushibo91
Ngày thêm
Lượt xem
1,866
Lượt bình luận
25
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
CSD201_-_SU_2023_-_Block_5_-_FE_736.webp
File size
46.7 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom