G Giao Linh New member Sep 21, 2021 #1 What is the worst case time complexity of insertion operation(n =no. of candidates)? A. O(1) B. O C. O(log n) D. O(n log n)
What is the worst case time complexity of insertion operation(n =no. of candidates)? A. O(1) B. O C. O(log n) D. O(n log n)
T Trung Minh New member Sep 21, 2021 #2 Answer: a Explanation: The worst case in a bin insert operation occurs when all the candidates are concentrated in one bin. So in this case the time complexity is O(1). Upvote 0 Downvote
Answer: a Explanation: The worst case in a bin insert operation occurs when all the candidates are concentrated in one bin. So in this case the time complexity is O(1).