871 views
1 votes
1 votes
Is the bucket sort is a comparison based sorting algorithm?

1 Answer

0 votes
0 votes

Bucket sort, or bin sort, is a sorting algorithm that works by distributing the elements of an array into a number of buckets. .

The general implementation of bucket sort can't be called Comparison sort but

.. Bucket sort can be implemented with comparisons and therefore can also be considered a comparison sortalgorithm.

source:wikipedia

Related questions

0 votes
0 votes
2 answers
2
_Madhuri asked Oct 9, 2021
664 views
The complexity of comparison based sorting algorithm is (nlogn) .How?
1 votes
1 votes
1 answer
4
iarnav asked May 4, 2019
850 views
I’ve seen this wikipedia article – https://en.wikipedia.org/wiki/Comparison_sortAlso see this link – https://gateoverflow.in/32948/minimum-number-of-comparisonshttp...