Better definition for segment trees

This commit is contained in:
Antti H S Laaksonen 2017-02-27 21:57:28 +02:00
parent 98fda0b259
commit 5182b44f31
1 changed files with 2 additions and 3 deletions

View File

@ -759,9 +759,8 @@ memory and is a bit more difficult to implement.
\subsubsection{Structure}
A segment tree is a binary tree that
contains $2n-1$ nodes.
The nodes on the bottom level of the tree
A segment tree is a binary tree
such that the nodes on the bottom level of the tree
correspond to the array elements,
and the other nodes
contain information needed for processing range queries.