Deviopath › Go

Palindrome

Easy · Strings

A palindrome reads the same forwards and backwards. Compare []rune(s) from both ends, or reverse the string and compare. Ignore letter case by lowercasing first. Do not ignore spaces: "ab a" is not a palindrome here.

Write IsPalindrome(s) that returns whether s is a palindrome.

Next: FizzBuzz