Write a method to compute if a string is a palindrome, disregarding spaces.
Anonymous
isPalidrome(String s) { removeSpaces(s); String r = reverseString(s); if (r == s) then return True; Otherwise return False; }
Check out your Company Bowl for anonymous work chats.