News for hackers. Stuff that matters.
Re:How to win the coding interview by paulddraper on Monday May 30, 2016 @11:59PM (#11804461)
Or even more clearly

  def is_palindrome(str):
      return str == str[::-1]
Re:How to win the coding interview by eru on Tuesday May 31, 2016 @03:36AM (#11805240)
According to the authors spec, you have to filter out spaces, normalize capitalisation etc.

So your solutions works after a preprocessing step.

Re:How to win the coding interview by paulddraper on Tuesday May 31, 2016 @10:19AM (#11806636)
Correct, I wrote this based on the parent's desired answer.