Two N Minus One

What are the size bounds for the suffix automaton of a string of length nn?

A

At most 2n−12n - 1 states for n≥2n \ge 2 and at most Θ(nσ)\Theta(n\sigma) transitions for n≥3n \ge 3, built online in linear time for a constant alphabet.

B

At most 2n−12n - 1 states for n≥2n \ge 2 and at most 3n−43n - 4 transitions for n≥3n \ge 3, built online in linear time for a constant alphabet.

C

At most nn states for n≥2n \ge 2 and at most nn transitions for n≥3n \ge 3, built online in linear time for a constant alphabet.

D

Θ(nlog⁡n)\Theta(n \log n) states for n≥2n \ge 2 and Θ(nlog⁡n)\Theta(n \log n) transitions for n≥3n \ge 3, built offline in Θ(nlog⁡n)\Theta(n \log n) for a constant alphabet.