231k views
2 votes
Which of the following sorting algorithms is the most inefficient?

A) Merge Sort
B) Bubble Sort
C) Selection Sort
D) Insertion Sort

User Akinuri
by
6.6k points

1 Answer

4 votes

Answer:

Bubble Sort

Step-by-step explanation:

Bubble sort, sometimes referred to as sinking sort, is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order. The pass through the list is repeated until the list is sorted.

User Measurity
by
7.2k points