Search⌘ K
AI Features

DIY: Valid Palindrome

Understand how to write a function in C# that verifies whether a given string is a palindrome. This lesson helps you practice basic string manipulation and develop skills essential for solving common coding interview problems involving sequence analysis.

Problem statement

Write a function that takes a variable containing a string, and check whether it is a palindrome or not.

Input

...