Arrow Research search
Back to TCS

TCS 2004

The Level Ancestor Problem simplified

Journal Article journal-article Computer Science · Theoretical Computer Science

Abstract

We present a simple algorithm for the Level Ancestor Problem. A Level Ancestor Query LA(v, d) requests the depth d ancestor of node v. The Level Ancestor Problem is to preprocess a given rooted tree T to support level ancestor queries. While optimal solutions to this problem already exist, our new optimal solution is simple enough to be taught and implemented.

Authors

Keywords

  • Data structures
  • Rooted trees
  • Level Ancestor Problem

Context

Venue
Theoretical Computer Science
Archive span
1975-2026
Indexed papers
16261
Paper id
547687584870483947
v2026.09.13