Posts Tagged ‘sorting algorithm

30
Nov
09

Bubble Sort Algorithm, hmmm…..

Heum… dapet TP alpro tapi belum dikerjain, eh, TP sisop muncul dan harus dikumpulin lebih awal…

Sabar ya para praktikan-praktikan yang budiman… :mrgreen: Kuliah tu nggak seru kalo nggak gini.

Well, kali ini aku mau posting mengenai bubble sort dan kebetulan juga aku nemu video ilustrasinya.

Bubble sort adalah:
a simple sorting algorithm. It works by repeatedly stepping through the list to be sorted, comparing two items at a time and swapping them if they are in the wrong order. The pass through the list is repeated until no swaps are needed, which indicates that the list is sorted. The algorithm gets its name from the way smaller elements “bubble” to the top of the list. Because it only uses comparisons to operate on elements, it is a comparison sort.
–copy paste dari wiki– hehehe
Intinya sih bubble sort itu salah satu metode yang simpel untuk sorting. Dikatakan simpel karena emang simpel, maksudnya g ruwet, mudah dipahami, gampang dicerna, dan tidak semena-mena.:D. Continue reading ‘Bubble Sort Algorithm, hmmm…..’

Advertisements



my nationality

writer


struggling for whole happiness "Muhamad Rizal Avif Khan"
Share |