Abstract
We present an efficient data structure for finding the longest prefix of a query string q in a dynamic database of strings.When the database strings are prefixes of IP-addresses then this is the IP-lookup problem. Our data structure is I/O efficient. It supports a query with a string q using O(logB(n) + |q| B ) I/O operations, where B is the size of a disk block. It also supports an insertion and a deletion of a string q with the same number of I/Os. The data structure requires O(n/B) blocks, and the running time for each operation is O(B logB(n) + |q|).
| Original language | English |
|---|---|
| Pages (from-to) | 371-390 |
| Number of pages | 20 |
| Journal | Algorithmica |
| Volume | 65 |
| Issue number | 2 |
| DOIs | |
| State | Published - Feb 2013 |
Keywords
- Algorithms
- Data structures
- I/O model
- Longest prefix
- Segment tree
- String B-tree
ASJC Scopus subject areas
- General Computer Science
- Computer Science Applications
- Applied Mathematics
Fingerprint
Dive into the research topics of 'I/O efficient dynamic data structures for longest prefix queries'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver