Minimal Absent Words in Rooted and Unrooted Trees

Abstract

We extend the theory of minimal absent words to (rooted and unrooted) trees, having edges labeled by letters from an alphabet of cardinality σ. We show that the set MAW(T) of minimal absent words of a rooted (resp. unrooted) tree T with n nodes has cardinality O(nσ) (resp. O(n2σ)), and we show that these bounds are realized. Then, we exhibit algorithms to compute all minimal absent words in a rooted (resp. unrooted) tree in output-sensitive time O(n+|MAW(T)|) (resp. O(n2+|MAW(T)|) assuming an integer alphabet of size polynomial in n.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…