Skip to content

elazzabi/longest-common-subsequence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

longest-common-subsequence Build Status

Get the longest common subsequence of two strings as described in Wikipedia

Install

$ npm install --save longest-common-subsequence

Usage

const lcs = require('longest-common-subsequence');

lcs('Abc def', 'abc');
//=> 'abc'

lcs('abc def','Abc Def', true); // case sensitive = true
//=> 'bc ef'

Testing

$ npm test

License

MIT © EL AZZABI Ahmed

About

Get the longest common subsequence of two strings

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published