Skip to content · ⁨Lompat ke konten⁩

Binary search trees · ⁨Pohon pencarian biner (BST)⁩

English

Binary search trees

  • A binary search tree (BST) stores values so they stay sorted and are fast to find.
  • Each node holds a value and links to up to two children: a left and a right.
  • The top node is the root. A node with no children is a leaf.
Bahasa Indonesia

Pohon Pencarian Biner

  • Pohon pencarian biner (BST) menyimpan nilai sehingga tetap terurut dan cepat ditemukan.
  • Setiap simpul menyimpan nilai dan terhubung ke maksimal dua anak: satu left dan satu right.
  • Simpul teratas adalah akar. Simpul tanpa anak adalah **daun.

Handout · ⁨Lembar Kerja⁩

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

IGCSE, A-Level & AP