1,634 views
1 1 vote
Is the bucket sort is a comparison based sorting algorithm?

1 Answer

0 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

Position:
Show:

Related questions

9 9 votes
6 6 answers
4.0k
4.0k views
Arjun asked Feb 27, 2025
3,986 views
Suppose that insertion sort is applied to the array $[1,3,5,7,9,11, x, 15,13]$ and it takes exactly two swaps to sort the array. Select all possible values of $x$.$10$$12...
1 1 vote
1 1 answer
149
149 views
GO Classes asked Aug 25
149 views
Let $P$ be the problem of sorting $n\geq1$ elements using only comparisons.Consider the class of all comparison-based algorithms that correctly solve $P$.What is the asym...
2 2 votes
2 2 answers
194
194 views
GO Classes asked Aug 11
194 views
Problem: Sort a file of huge records with tiny keys.Example application: Reorganize your MP-$3$ files.Which sorting method to use?a system sort, guaranteed to run in time...
1 1 vote
1 1 answer
128
128 views
GO Classes asked Aug 10
128 views
You need to sort hotels on a travel website according to their star rating.Which sorting algorithm would be the most appropriate?Insertion sort Merge sort Quicksort Bucke...