refactor: Clean up code by removing unnecessary blank lines and improving comments for better readability and maintainability

This commit is contained in:
wizardchen
2025-11-28 16:10:37 +08:00
parent a318a08ab7
commit 135e33eca4
38 changed files with 318 additions and 545 deletions
@@ -96,11 +96,6 @@ func getWordNgrams(n int, sentences []string, exclusive bool) *Ngrams {
return getNgrams(n, words, exclusive)
}
func lenLcs(x, y []string) int {
table := lcs(x, y)
return table[len(x)][len(y)]
}
func lcs(x, y []string) [][]int {
n, m := len(x), len(y)
table := make([][]int, n+1)