Click or drag to resize
SuffixArrayLcp Method
Returns the length of the longest common prefix of the Ith smallest suffix and the i-1st smallest suffix.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public int Lcp(
	int i
)

Parameters

i
Type: SystemInt32
an integer between 1 and N-1

Return Value

Type: Int32
the length of the longest common prefix of the Ith
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionunless 1 <= I < N
See Also