Click or drag to resize
LongestRepeatedSubstringLrs Method
Returns the longest repeated substring of the specified string.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static string Lrs(
	string text
)

Parameters

text
Type: SystemString
the string

Return Value

Type: String
the longest repeated substring that appears in text; the empty string if no such string
See Also