MCPcopy Create free account
hub / github.com/VanjaRo/LeetCode / main

Function main

tasks/125.go:7–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5)
6
7func main() {
8 fmt.Print(isPalindrome("A man, a plan, a canal: Panama"))
9}
10
11func isPalindrome(s string) bool {
12 for left, right := 0, len(s)-1; left <= right; left, right = left+1, right-1 {

Callers

nothing calls this directly

Calls 2

PrintMethod · 0.80
isPalindromeFunction · 0.70

Tested by

no test coverage detected