Search⌘ K
AI Features

DIY: Valid Palindrome

Understand how to create a function that checks whether a given string is a palindrome. This lesson helps you practice string manipulation and Boolean logic to solve a common coding interview question using Kotlin.

Problem statement

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

Input

...