Skip to content · ⁨Lompat ke konten⁩

Sorting: bubble, selection, and insertion · ⁨Pengurutan: gelembung (*bubble*), seleksi, dan sisip⁩

English

Putting an array in order

  • Sorting rearranges an array so the items go from smallest to largest.
  • We sort in place: we move items around inside the same array, with no return value.
  • Three classic methods do this: bubble, insertion, and selection sort.
Bahasa Indonesia

Mengurutkan array

  • Pengurutan mengatur ulang array agar item-itemnya berurutan dari yang terkecil hingga terbesar.
  • Kita mengurutkan di tempat: kita memindahkan item di dalam array yang sama, tanpa nilai kembalian.
  • Tiga metode klasik melakukan ini: pengurutan bubble, insertion, dan selection.

Handout · ⁨Lembar Kerja⁩

Log in or create account · ⁨Masuk atau buat akun⁩

IGCSE, A-Level & AP