Palindromes

Note: This problem needs knowledge of topics you haven't covered yet. Reading List

Problem Statement


Given a sentence, return true if the sentence is a palindrome.

You are supposed to write a method palindrome? to accomplish this task.

Note Ignore whitespace and cases of characters.

Example:
Given "Never odd or even" the method should return true

Hint

You might want to use String#downcase, String#gsub and String#reverse

Output Window


Reading list for this problem

You are yet to work on:

Congratulations, guest!


% of the book completed

or