What is the worst case time complexity of bead sort (S= sum of input elements)?

Giao Linh

New member
What is the worst case time complexity of bead sort (S= sum of input elements)?
A. O(n)
B. O(S)
C. O(n$^{2}$)
D. O(n log n)
 

Tìm kiếm

Back
Top