Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Left-child right-sibling representation?

Definition 11.16 University Computer Science — Year 1 · Capítulo 11 — Induction, Recursion and Termination

The left-child right-sibling representation stores a tree of any arity as a binary tree with the same nodes: the left subtree of a node is its first child, and its right subtree is its next sibling.

A tree of arity 4 and its left-child right-sibling binary tree. The same eight nodes; the children of a node become a chain of right links starting at its left child.
A tree of arity 4 and its left-child right-sibling binary tree. The same eight nodes; the children of a node become a chain of right links starting at its left child.
Leer en el capítulo →