Alphabet

1 min read Last updated Tue Jun 09 2026 08:25:32 GMT+0000 (Coordinated Universal Time)

A finite set of symbols. Denoted by Σ\Sigma.

String

A finite sequence of symbols from Σ\Sigma. Length of string xx is denoted by x|x|.

Null String

String with length 0. Denoted by Λ\Lambda.

Concatenation

Concatenation of strings xx and yy is xyxy. Associative.

Repetition

aka^k means symbol aa repeated kk times. a0=Λa^0 = \Lambda.

Σk\Sigma^k is the set of all k-length strings from symbols of Σ\Sigma. Σ0={Λ}\Sigma^0 = \{\Lambda\}.

Substrings

A string found inside another string.

  • Prefix
    Initial substring.
  • Suffix
    Final substring.

Σ-star

Set of all strings over Σ\Sigma.

Was this helpful?