← Questions

Valid palindrome after deleting at most k characters

0
MetaCodingLast asked Aug 2026

Return whether a string can become a palindrome by deleting at most k characters. Relate it to the longest palindromic subsequence and give the time and space of your solution.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding