Blackbaud Interview Question

Write a function to determine if a word is a palindrome

Interview Answer

Anonymous

Feb 5, 2026

def is_palindrome(self,word): i,j=0,len(word)-1 while i<=j: if word[i]!=word[j]: return False i+=1 j-=1 return True