https://github.com/mxssl/palindromegolang
Check a string for palindrome in Go (Golang)
https://github.com/mxssl/palindromegolang
algorithm go golang
Last synced: 8 months ago
JSON representation
Check a string for palindrome in Go (Golang)
- Host: GitHub
- URL: https://github.com/mxssl/palindromegolang
- Owner: mxssl
- Created: 2018-09-11T23:50:51.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-12T00:04:15.000Z (about 7 years ago)
- Last Synced: 2025-01-22T19:21:29.146Z (9 months ago)
- Topics: algorithm, go, golang
- Language: Go
- Homepage:
- Size: 0 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Palindrome
Check a string for palindrome in Go (Golang).
`Time Complexity: O(n)`
`Space Complexity: O(1)`
```Bash
$ 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
```