Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Degenerate tree?

Definition 17.6 University Computer Science — Year 1 · Bab 17 — Binary Search Trees and Balanced Trees

A tree is degenerate when every node has at most one child: its height is n−1n - 1, and it is a linked list.

Heights from . The alphabetical order climbs as n - 1 and leaves the chart at n = 27; random orders grow slowly; the AVL tree stays within one or two of the lower bound.
Heights from Output 17.2. The alphabetical order climbs as n−1n - 1 and leaves the chart at n=27n = 27; random orders grow slowly; the AVL tree stays within one or two of the lower bound.
Baca dalam konteks →