Lewati ke konten utama
Beranda
Syarat penyelesaian

Bubble sort, also referred to as comparison sort, is a simple sorting algorithm that repeatedly goes through the list, compares adjacent elements and swaps them if they are in the wrong order. This is the most simplest algorithm and inefficient at the same time. Yet, it is very much necessary to learn about it as it represents the basic foundations of sorting.

Klik Interview Bit: Bubble Sort untuk membuka sumber.
loader image