Skip to content

Check a string for palindrome in Go (Golang)

mxssl/PalindromeGolang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages