Browse Source

Simplify

content-update
Xavier Petit 4 years ago committed by xpetit
parent
commit
3c20de06f8
  1. 3
      tests/go/solutions/doppelganger.go

3
tests/go/solutions/doppelganger.go

@ -5,8 +5,5 @@ import (
)
func DoppelGanger(big, little string) int {
if little == "" {
return -1
}
return strings.LastIndex(big, little)
}

Loading…
Cancel
Save