subsequence

package
v0.0.0-...-de2953b Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDpLcst

func GetDpLcst(str1, str2 string) (dp [][]int)

func GetLIS1

func GetLIS1(arr []int) (res []int)

最长递增子序列.

func GetLIS2

func GetLIS2(arr []int) (res []int)

func GetLcse

func GetLcse(str1, str2 string) string

最长公共子序列.

func GetLcst

func GetLcst(str1, str2 string) (res string)

最长公共子串.

func GetLcst2

func GetLcst2(str1, str2 string) (res string)

按斜线,从右上到左下遍历.

Types

This section is empty.

Jump to

Keyboard shortcuts

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