# A Simple Algorithm for Computing the Document Array

**Authors:** Felipe A. Louza

arXiv: 1812.09094 · 2020-09-10

## TL;DR

This paper introduces a straightforward, linear-time algorithm for computing the document array from a string collection and its suffix array, using minimal extra space for constant alphabet strings.

## Contribution

It provides a simple, efficient method for document array computation with linear time complexity and constant space for constant alphabets.

## Key findings

- Runs in linear time
- Uses constant additional space for constant alphabets
- Efficiently computes document arrays

## Abstract

We present a simple algorithm for computing the document array given a string collection and its suffix array as input. Our algorithm runs in linear time using constant additional space for strings from constant alphabets.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1812.09094/full.md

## Figures

2 figures with captions in the complete paper: https://tomesphere.com/paper/1812.09094/full.md

## References

25 references — full list in the complete paper: https://tomesphere.com/paper/1812.09094/full.md

---
Source: https://tomesphere.com/paper/1812.09094