Hope everyone is coming back from a great weekend!
We've done some stuff with palindromes before but let's change it up one more time. This time around we're going to create a function that takes in a string and determines if a string is a palindrome or not.
Comments:
Andreas - 10 years, 3 months ago
Allowing for whitespaces and punctuation within the string.
scala> isPalindrome("Rise to vote, sir!")
res1: Boolean = true
reply permalink
Nick Krichevsky - 10 years, 3 months ago
reply permalink