Garis besar topik
-
Topik 5: Algoritma Pengurutan Bubble dan Kompleksitasnya
-
Ini adalah materi yang digunakan pada tahun ajaran 2019/2020.
3.4 MB · Diunggah 15/03/21, 08:56 -
Silahkan tuliskan pertanyaan atau hal yang ingin kamu ketahui lebih jauh terkait topik minggu ini dan sebelumnya. Pertanyaan kamu akan diulas pada saat pertemuan sinkronus.
-
Silahkan tuliskan pertanyaan atau hal yang ingin kamu ketahui lebih jauh terkait topik minggu ini dan sebelumnya. Pertanyaan kamu akan diulas pada saat pertemuan sinkronus.
-
A Sorting Algorithm is used to rearrange a given array or list elements according to a comparison operator on the elements. The comparison operator is used to decide the new order of element in the respective data structure.
-
Bubble Sort is the simplest sorting algorithm that works by repeatedly swapping the adjacent elements if they are in wrong order.
-
Implementasi algoritma Bubble Sort secara rekursif.
-
Efficiency of an algorithm depends on two parameters, which are time and space complexity. Both are calculated as the function of input size(n).
-
Pada tautan ini, kamu bisa mencoba mengerjakan beberapa soal latihan terkait algoritma pengurutan.
-
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.