solulubeta
Sign in
Story Problems / Strings
02.06 · Problem

Almost a Palindrome Name

Easy Two pointers from both ends Pro

This problem is part of solulu Pro

A naming committee likes names that read the same forwards and backwards. A name is *acceptable* if it is a palindrome or becomes one after deleting at most one character. Given a lowercase name, is it acceptable?

Lifetime ₹2,000 ₹1,000 · Beta offer
Mark this problem as solved when you are finished.

Item 26 of 94 · updated 2026-10-12