NeetCode #709LC-1216Hard1-D Dynamic Programming
← Back to All Problems

#709 · #1216 · Valid Palindrome III(验证回文串 III)

📌 Problem Statement & Constraints

Given a string s and an integer k, return true if s can be turned into a palindrome by deleting at most k characters. Constraints: 1 <= s.length <= 1000, 0 <= k <= s.length, and s consists of lowercase English letters.
🔒

Sign In to Unlock Full Solutions for All 973 Problems

Sign in to access step-by-step logic, benchmark Python3 code, complexity breakdown, and offline export!