Hostname: page-component-77c78cf97d-kmjgn Total loading time: 0.001 Render date: 2026-04-24T12:45:47.929Z Has data issue: false hasContentIssue false

On constructing 2-3 trees

Published online by Cambridge University Press:  26 October 2018

RALF HINZE*
Affiliation:
Fachbereich Informatik, Technische Universität Kaiserslautern67653 Kaiserslautern, Germany (e-mail: ralf-hinze@cs.uni-kl.de)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

We consider the task of constructing 2-3 trees. Given a sequence of elements we seek to build a 2-3 tree–in linear time–that contains the elements in symmetric order. We discuss three approaches: top-down, bottom-up, and incremental. The incremental approach is more flexible than the other two in that it allows us to interleave the construction work with other operations, for example, queries.

Information

Type
Functional Pearl
Copyright
© Cambridge University Press 2018 
Submit a response

Discussions

No Discussions have been published for this article.