MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / LpsRec

Function LpsRec

dynamic/longestpalindromicsubsequence.go:22–24  ·  view source on GitHub ↗

LpsRec function

(word string)

Source from the content-addressed store, hash-verified

20
21// LpsRec function
22func LpsRec(word string) int {
23 return lpsRec(word, 0, len(word)-1)
24}
25
26// LpsDp function
27func LpsDp(word string) int {

Callers

nothing calls this directly

Calls 1

lpsRecFunction · 0.85

Tested by

no test coverage detected