Palindrome


Strings Public

Easy  

10min


A palindrome is a word that reads the same backward or forward.

Write a function that checks if a given word is a palindrome. Character case should be ignored.

For example, IsPalindrome("Deleveled") should return true as character case should be ignored, resulting in "deleveled", which is a palindrome since it reads the same backward and forward.

C# 5.0, .NET Framework 4.5
 
 


  •   Example case: System.NotImplementedException at Palindrome.IsPalindrome(String word) in Palindrome.cs:line 7
  •   Lowercase words: System.NotImplementedException at Palindrome.IsPalindrome(String word) in Palindrome.cs:line 7
  •   Various words: System.NotImplementedException at Palindrome.IsPalindrome(String word) in Palindrome.cs:line 7