MAD101_-_FA_2024_-_FE_2995.webp
Ngọc Trinh

MAD101_-_FA_2024_-_FE_2995.webp

(Choose 1 answer)
(See picture)
A. Linear complexity
B. Polynomial complexity
C. Constant complexity
D. Logarithmic complexity
What is the complexity of the following algorithm?
procedure POLYNOMIAL(c, ao, a₁,..., an: integers)power := 1 y:= ao for i:=1 to n
power : power * c
y:= y + a* power return y
wi

Thông tin

Category
MAD101
Thêm bởi
Ngọc Trinh
Ngày thêm
Lượt xem
5,091
Lượt bình luận
8
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
MAD101_-_FA_2024_-_FE_2995.webp
File size
212.6 KB
Dimensions
1920px x 892px

Share this media

Back
Bên trên Bottom