Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: Fast Set Intersection and Two Patterns Matching   In this paper we present a new problem, the fast set intersection problem,
which is to preprocess a collection of sets in order to efficiently report the
intersection of any two sets in the collection. In addition we suggest new
solutions for the two-dimensional substring indexing problem and the document
listing problem for two patterns by reduction to the fast set intersection
problem.

32
The categories of this paper are: atom-ph
26
The categories of this paper are: bayes-an
27
The categories of this paper are: comp-gas
0
The categories of this paper are: hep-ph
9
The categories of this paper are: nlin
31
The categories of this paper are: ao-sci
10
The categories of this paper are: q-bio
3
The categories of this paper are: physics
18
The categories of this paper are: econ
25
The categories of this paper are: patt-sol
21
The categories of this paper are: adap-org
17
The categories of this paper are: q-fin
4
The categories of this paper are: cond-mat
35
The categories of this paper are: mtrl-th
20
The categories of this paper are: acc-phys
33
The categories of this paper are: plasm-ph