(runes []rune, start int64, end int64)
| 43 | } |
| 44 | |
| 45 | func isPalindromeRecursiveHelper(runes []rune, start int64, end int64) bool { |
| 46 | if start >= end { |
| 47 | return true |
| 48 | } |
| 49 | if runes[start] != runes[end-1] { |
| 50 | return false |
| 51 | } |
| 52 | start = start + 1 |
| 53 | end = end - 1 |
| 54 | return isPalindromeRecursiveHelper(runes, start, end) |
| 55 | } |
no outgoing calls
no test coverage detected