lcp ( seq1 seq2 -- n )


Vocabulary
z-algorithm

Inputs
seq1a sequence
seq2a sequence


Outputs
na non-negative integer


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

Definition