• Documents
  • Authors
  • Tables
  • Other Seers ▼
    RefSeer AckSeer CollabSeer SeerSeer
  • Log in
  • Sign up
  • MetaCart

CiteSeerX logo

Advanced Search Include Citations
Advanced Search Include Citations | Disambiguate

6.897: Advanced data structures (Spring 2005), Lecture 3, February 8 (2005)

Cached

  • Download as a PDF

Download Links

  • [theory.csail.mit.edu]
  • [courses.csail.mit.edu]
  • [theory.lcs.mit.edu]
  • [theory.csail.mit.edu]
  • [courses.csail.mit.edu]
  • [theory.lcs.mit.edu]
  • [courses.csail.mit.edu]
  • [theory.csail.mit.edu]
  • [theory.lcs.mit.edu]
  • [theory.csail.mit.edu]
  • [courses.csail.mit.edu]
  • [theory.lcs.mit.edu]
  • [theory.csail.mit.edu]
  • [courses.csail.mit.edu]
  • [ocw.mit.edu]
  • [courses.csail.mit.edu]
  • [courses.csail.mit.edu]
  • [courses.csail.mit.edu]
  • [courses.csail.mit.edu]
  • [theory.csail.mit.edu]

  • Save to List
  • Add to Collection
  • Correct Errors
  • Monitor Changes
by Prof Erik Demaine , Scribes Christos Kapoutsis , Loizos Michael
Citations:3 - 0 self
  • Summary
  • Active Bibliography
  • Co-citation
  • Clustered Documents
  • Version History

BibTeX

@MISC{Demaine056.897:advanced,
    author = {Prof Erik Demaine and Scribes Christos Kapoutsis and Loizos Michael},
    title = {6.897: Advanced data structures (Spring 2005), Lecture 3, February 8},
    year = {2005}
}

Bookmark

citeulike Connotea Bibsonomy Del.icio.us Digg Reddit

OpenURL

 

Abstract

Recall from last lecture that we are looking at the document-retrieval problem. The problem can be stated as follows: Given a set of texts T1, T2,..., Tk and a pattern P, determine the distinct texts in which the patterns occurs. In particular, we are allowed to preprocess the texts in order to be able to answer the query faster. Our preprocessing choice was the use of a single suffix tree, in which all the suffixes of all the texts appear, each suffix ending with a distinct symbol that determines the text in which the suffix appears. In order to answer the query we reduced the problem to range-min queries, which in turn was reduced to the least common ancestor (LCA) problem on the cartesian tree of an array of numbers. The cartesian tree is constructed recursively by setting its root to be the minimum element of the array and recursively constructing its two subtrees using the left and right partitions of the array. The range-min query of an interval [i, j] is then equivalent to finding the LCA of the two nodes of the cartesian tree that correspond to i and j. In this lecture we continue to see how we can solve the LCA problem on any static tree. This will involve a reduction of the LCA problem back to the range-min query problem (!) and then a

Citations

7321 Introduction to Algorithms - Cormen, Leiserson, et al. - 1997
557 Data Structures and Network Algorithms - Tarjan - 1983
494 The input/output complexity of sorting and related problems. Commun - AGGARWAL, VITTER - 1988
265 A data structure for dynamic trees - Sleator, Tarjan - 1983
146 Scaling and related techniques for geometry problems - Gabow, Bentley, et al. - 1984
143 Two algorithms for maintaining order in a list - Dietz, Sleator - 1987
99 Emde Boas. Preserving order in a forest in less than logarithmic time and linear - van - 1977
74 Log-Logarithmic Worst-Case Range Queries are Possible - Willard - 1983
64 Data Structures and Network Algorithms (Society for industrial and applied mathematics - Tarjan - 1983
56 Cache-oblivious priority queue and graph algorithm applications - ARGE, BENDER, et al.
52 Two simplified algorithms for maintaining order in a list - Bender, Cole, et al. - 2005
30 A density control algorithm for doing insertions and deletions in a sequentially ordered file in good worst-case time - Willard - 1992
29 Lower bounds for accessing binary search trees with rotations - Wilber - 1989
29 Scanning and traversing: Maintaining data for traversals in a memory hierarchy - Bender, Cole, et al. - 2002
26 New trie data structures which support very fast search operations - Willard - 1984
22 Integer sorting in O(n √ log log n) expected time and linear space - Han, Thorup - 2002
7 Key independent optimality - Iacono - 2005
5 Upper Bounds for Sorting - Kirkpatrick, Reisch - 1984
5 M.: The geometry of binary search trees - Demaine, Harmon, et al. - 2009
5 Tarjan: Dynamic perfect hashing: upper and lower bounds - Dietzfelbinger, Karlin, et al. - 1994
4 and Torben Hagerup. Improved parallel integer sorting without concurrent writing - Albers - 1997
4 Mihai Patrascu. Dynamic optimality — almost - Demaine, Harmon, et al. - 2004
3 Deterministic Sorting in O (n log log n - Han
1 A Sparse Table Implementation - Itai, Konheim, et al. - 1981
The National Science Foundation
  • About CiteSeerX
  • Submit Documents
  • Privacy Policy
  • Help
  • Data
  • Source
  • Contact Us

Developed at and hosted by The College of Information Sciences and Technology

© 2007-2010 The Pennsylvania State University