36-756.jpg
Daviddoo

36-756.jpg

  • Media owner Daviddoo
  • Ngày thêm
(Choose 1 answer)
(See picture)
A. (iii)
B. None of the other choices is correct
C. (i)
D. (ii)
Determine the complexity of this algorithm in terms of the number of comparisons.
procedure thuattoan(a1, a2..., an: integers)k: 0 for i:=1 to n do if a < 0 then k := k+1 print(k)
(i) O(n)
(ii) O(logn)
(iii) O(1)

Exit 36
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
36-756.webp
File size
50.3 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom