Workday Interview Question

One question they asked me was to implement a function that checks whether a given string is a palindrome, ignoring spaces, punctuation, and case sensitivity.