lcp ( seq1 seq2 -- n )


Vocabulary
z-algorithm

Inputs and outputs
seq1a sequence
seq2a sequence
na non-negative integer


Word description
Outputs the length of longest common prefix of two sequences.

Definition