mxssl / PalindromeGolang

Check a string for palindrome in Go (Golang)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Palindrome

Check a string for palindrome in Go (Golang).

Time Complexity: O(n)

Space Complexity: O(1)

$ go test -v -cover ./...
=== RUN   TestCase1
--- PASS: TestCase1 (0.00s)
=== RUN   TestCase2
--- PASS: TestCase2 (0.00s)
PASS
coverage: 80.0% of statements
ok  	github.com/mxssl/PalindromeGolang	0.014s	coverage: 80.0% of statements

About

Check a string for palindrome in Go (Golang)


Languages

Language:Go 100.0%