Tree - Sibling

> (Data|State) Management and Processing > (Data Type|Data Structure) > (Tree|Nested Set|Hierarchy) Data Structure

Table of Contents

1 - About

Sibling is a tree relationship term. They are child (node|members) of the same immediate parent, at the same generation (level).

An element A is called a sibling of an element B, if and only if B and A share the same parent element.

  • Element A is a preceding sibling if it comes before B in the tree.
  • Element B is a following sibling if it comes after A in the tree.