On the smoothed heights of trie and patricia index trees

Weitian Tong, Randy Goebel, Guohui Lin

Research output: Contribution to book or proceedingConference articlepeer-review

2 Scopus citations

Abstract

Two of the most popular data structures for storing strings are the Trie and the Patricia index trees. Let Hn denote the height of the Trie (the Patricia, respectively) on a set of n strings. It is well known that under the uniform distribution model on the strings, for Trie Hn/ logn→2 and for Patricia Hn/logn→1, when n approaches infinity. Nevertheless, in the worst case, the height of the Trie on n strings is unbounded, and the height of the Patricia on n strings is in Θ(n). To better understand the practical performance of both the Trie and Patricia index trees, we investigate these two classical data structures in a smoothed analysis model. Given a set S = {s1, s2,.., sn} of n binary strings, we perturb the set by adding an i.i.d Bernoulli random noise to each bit of every string. We show that the resulting smoothed heights of Trie and Patricia trees are both Θ(logn).

Original languageEnglish
Title of host publicationComputing and Combinatorics - 20th International Conference, COCOON 2014, Proceedings
PublisherSpringer Verlag
Pages94-103
Number of pages10
ISBN (Print)9783319087825
DOIs
StatePublished - 2014
Event20th International Computing and Combinatorics Conference, COCOON 2014 - Atlanta, GA, United States
Duration: Aug 4 2014Aug 6 2014

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume8591 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference20th International Computing and Combinatorics Conference, COCOON 2014
Country/TerritoryUnited States
CityAtlanta, GA
Period08/4/1408/6/14

Scopus Subject Areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'On the smoothed heights of trie and patricia index trees'. Together they form a unique fingerprint.

Cite this