Friday, 12 June 2015

Q38,paper 3,d13 Assuming there are n keys and each key is in the range [0, m – 1]. The run time of bucket sort is



(A) O(n)
(B) O(n lgn)
(C) O(n lgm)
 (D) O(n + m)
Answer D

No comments:

Post a Comment

Note: only a member of this blog may post a comment.