Problem 1216 · Hard

Valid Palindrome III

Decide whether a string can become a palindrome after deleting at most k characters. The visual builds a table of matching inner ranges and checks it against the deletion budget.

Open the interactive visualisation