MAD101_-_SP_2025_-_Block_5_-_1_3846.webp
S

MAD101_-_SP_2025_-_Block_5_-_1_3846.webp

☑Kizspy.me
(Choose 1 answer)
(See picture)
☐ A
A. a 1; b 1
B. a 2; b=1
☐ D
C. a= 1; b=2
☐ E
D. None of the other choices is correct
E. a = 0; b=0
Back
Next
FUO.sh
sh the exam.
Let f(n) represent the number of comparisons made by the binary
search algorithm on a sequence of size n. The recurrence relation
for f(n) is given by:
n
f(n) = =
af (7) + b,
when n is even. Find the values of a and b.

Thông tin

Category
MAD101
Thêm bởi
singing_bird
Ngày thêm
Lượt xem
3,908
Lượt bình luận
10
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom