Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Degenerate tree?

Definition 17.6 University Computer Science — Year 1 · Capítulo 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.
Ler no capítulo →