LCS: Compute longest common substring of two strings.

View source: R/fcn_misc.R

LCSR Documentation

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


PTXQC documentation built on Sept. 21, 2022, 9:10 a.m.