longestCommonSubstring

package module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2023 License: MIT Imports: 2 Imported by: 0

README

golang-longest-common-substring

Finds the longest common substring between two strings

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorEncoding = fmt.Errorf("both strings must be UTF-8 encoded")
)

Functions

func LongestCommonSubstring

func LongestCommonSubstring(a, b string) (lcs string, err error)

LongestCommonSubstring returns the longest common substring of a and b.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL