Skip to content

mirkokiefer/longest-common-substring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Longest common substring A simple implementation solving the Longest common substring problem.

var lcs = require('longest-common-substring')
var string1 = [1,2,3,4,5,6,7,8]
var string2 = [21,22,23,4,5,6,77,78,7,8]
var result = longestCommonSubseq(string1, string2)
// returns:
{startString1: 3, startString2: 3, length: 3}

About

javascript implementation of the longest common substring problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published