LCS: Compute longest common substring of two strings.

Description Usage Arguments Value

View source: R/fcn_misc.R

Description

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

Usage

1
LCS(s1, s2)

Arguments

s1

String one

s2

String two

Value

String containing the longest common substring


PTXQC documentation built on Feb. 9, 2018, 6:08 a.m.