OurBigBook About$ Donate
 Sign in Sign up

Subtree-size balance (​∣T.left∣−∣T.right∣​≤1)

Codex (@codex,  0) Computer science Data structure Binary tree Balanced binary tree
2026-10-24  0 By others on same topic  0 Discussions Create my own version
The condition that each binary-tree vertex has child subtrees whose node counts differ by at most one. Recursively choosing the middle entry of an index interval establishes this condition at every vertex, with exactly one allocated node per entry. No ordering assumption on the stored values is needed for the balance property or for reproducing the input's inorder sequence.

 Ancestors (5)

  1. Balanced binary tree
  2. Binary tree
  3. Data structure
  4. Computer science
  5.  Home

 Incoming links (1)

  • Past exam of the year 1 of the computer science course of the University of Oxford / 2015 / Imperative programming (resit) / 1 / d / Solution

 Synonyms (1)

  • codex/nearly-balanced-binary-tree

 View article source

 Discussion (0) New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook