Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: Fast Computation of Abelian Runs   Given a word $w$ and a Parikh vector $\mathcal{P}$, an abelian run of period
$\mathcal{P}$ in $w$ is a maximal occurrence of a substring of $w$ having
abelian period $\mathcal{P}$. Our main result is an online algorithm that,
given a word $w$ of length $n$ over an alphabet of cardinality $\sigma$ and a
Parikh vector $\mathcal{P}$, returns all the abelian runs of period
$\mathcal{P}$ in $w$ in time $O(n)$ and space $O(\sigma+p)$, where $p$ is the
norm of $\mathcal{P}$, i.e., the sum of its components. We also present an
online algorithm that computes all the abelian runs with periods of norm $p$ in
$w$ in time $O(np)$, for any given norm $p$. Finally, we give an $O(n^2)$-time
offline randomized algorithm for computing all the abelian runs of $w$. Its
deterministic counterpart runs in $O(n^2\log\sigma)$ time.

8
The categories of this paper are: hep-ex
12
The categories of this paper are: nucl-th
14
The categories of this paper are: math-ph
9
The categories of this paper are: nlin
16
The categories of this paper are: stat
10
The categories of this paper are: q-bio
7
The categories of this paper are: hep-th
20
The categories of this paper are: acc-phys
0
The categories of this paper are: hep-ph
29
The categories of this paper are: funct-an
5
The categories of this paper are: gr-qc
31
The categories of this paper are: ao-sci
15
The categories of this paper are: nucl-ex
21
The categories of this paper are: adap-org
30
The categories of this paper are: q-alg
17
The categories of this paper are: q-fin