Single Choice
Easy
QWhich of the following sorting algorithms is not a comparison-based algorithm?
ID: #5700
Sorting algorithm
309 views
Question Info
#5700Q ID
EasyDifficulty
Sorting algorithmTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
Bucket sort is not a comparison-based algorithm; instead, it distributes elements into a number of buckets and then sorts these buckets individually. This method takes advantage of the properties of the input data and can achieve linear time complexity under certain conditions. In contrast, merge sort, selection sort, and quick sort are all comparison-based algorithms that determine the order of elements by comparing them.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic