An open API service indexing awesome lists of open source software.

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)

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
```