MAD101_-_C1_-_FE_-_SU_2023_489.webp
Scar89

MAD101_-_C1_-_FE_-_SU_2023_489.webp

  • Media owner Scar89
  • Ngày thêm
(Choose 1 answer)
(See picture)
Determine the complexity of this algorithm in terms of the number of comparisons.
A. None of the other choices is correct
B. (iii)
C. (ii)
D. (i)
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 30

Thông tin

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

Image metadata

Filename
MAD101_-_C1_-_FE_-_SU_2023_489.webp
File size
65.1 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom