This commit is contained in:
2025-09-15 21:12:04 +08:00
commit 3f58f483ff
144 changed files with 5298 additions and 0 deletions

13
25/05/2942.go Normal file
View File

@@ -0,0 +1,13 @@
package main
import "strings"
func findWordsContaining(words []string, x byte) []int {
var result []int
for i, word := range words {
if strings.Index(word, string(x)) != -1 {
result = append(result, i)
}
}
return result
}