Registry / utility / yudai-golcs

yudai-golcs

JSON →
library0.0.0-20170316035057-ecda9a501e82gogounverified

Package lcs provides functions to calculate Longest Common Subsequence (LCS) values from two arbitrary arrays.

go get github.com/yudai/golcs
INSTALL
IMPORT
SIG · YUDAI-GOLCS
Y
yudai-golcs
utilitygov0.0.0-20170316035057-ecda9a501e82
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

lcs
github.com/yudai/golcs

Compute LCS of two integer slices

package main import ( "fmt" "github.com/yudai/golcs" ) func main() { a := []int{1, 2, 3, 4} b := []int{2, 3, 5} lcs := lcs.New(a, b).Value() fmt.Println(lcs) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20170316035057-ecda9a501e82latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
yudai-golcs — go get yudai-golcs · libregistry