Learn R Programming

PTXQC (version 1.0.4)

LCS: Compute longest common substring of two strings.

Description

Implementation is very inefficient (dynamic programming in R) --> use only on small instances

Usage

LCS(s1, s2)

Arguments

s1

String one

s2

String two

Value

String containing the longest common substring