← Questions

Valid palindrome after deleting at most k characters

0
MetaCodingLast asked Aug 2026

A coding interview question asked in Meta's technical phone screen, last asked Aug 2026. It tests strings and dynamic programming.

Return whether a string can become a palindrome by deleting at most k characters, keeping the rest in order. Relate the problem to the longest palindromic subsequence and give the time and space of your solution.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Meta · Technical phone screen · Last asked Aug 202645 min · Two coding problems in CoderPad, about 20 minutes each · Usually no AI; some newer screens are AI-assisted

What it tests

strings · dynamic programming

Your code and the AI tutor open when you unlock this question.