Registry / utility / abcum-lcp

abcum-lcp

JSON →
library0.0.0-20201209214815-7a3f3840be81gogounverified

Package lcp provides a longest common prefix implementation for Go.

go get github.com/abcum/lcp
INSTALL
IMPORT
SIG · ABCUM-LCP
A
abcum-lcp
utilitygov0.0.0-20201209214815-7a3f3840be81
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.

lcp
github.com/abcum/lcp

Finds the longest common prefix among a slice of strings.

package main import ( "fmt" "github.com/abcum/lcp" ) func main() { result := lcp.LCP([]string{"flower", "flow", "flight"}) fmt.Println(result) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20201209214815-7a3f3840be81latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
42 hits · last 30 days
node
34
OpenAI (training)
1
Resources
abcum-lcp — go get abcum-lcp · libregistry