JPD123_-_Summer2023_-_ME_-_4_54.webp
Ngọc Trinh

JPD123_-_Summer2023_-_ME_-_4_54.webp

(Choose 1 answer)
Select the most correct statement:
A. In all cases the selection sort is O(n^2).
B. In the worst case the selection sort is O(n^2), in the best case it is O(n).
C. In the worst case the selection sort is O(n^2), in the best case it is O(nlog n).
FLOW.COM
D. In the average case the selection sort is O(n^2), in the best case it is O(nlog n).
Et 20

Thông tin

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

Share this media

Back
Bên trên Bottom