add new solutions
This commit is contained in:
parent
59b71480d4
commit
71189b61cf
8 changed files with 200 additions and 0 deletions
9
solutions/0/q28/solution.go
Normal file
9
solutions/0/q28/solution.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
package q28
|
||||
|
||||
import "strings"
|
||||
|
||||
func strStr(haystack string, needle string) int {
|
||||
return strings.Index(haystack, needle)
|
||||
}
|
||||
|
||||
var _ = strStr
|
||||
Loading…
Add table
Add a link
Reference in a new issue