...
Sorting
October 28, 2023
Computer-Networks
October 28, 2023
Sorting
October 28, 2023
Computer-Networks
October 28, 2023

Sorting

Question 70
Consider an array of positive integers between 123456 to 876543, which sorting algorithm can be used to sort these number in linear time?
A
Impossible to sort in linear time
B
Radix Sort
C
Insertion Sort
D
Bubble Sort
Question 70 Explanation: 
Radix Sort worst case time complexity is O(d(n+k)).
Even it gives linear time when the input array is 0 to n^6….
Correct Answer: B
Question 70 Explanation: 
Radix Sort worst case time complexity is O(d(n+k)).
Even it gives linear time when the input array is 0 to n^6….
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!