Miguel's Blog
  • 文章
  • Tags
Miguel's Blog

  • 文章
  • Tags
132. Palindrome Partitioning II

Given a string s, partition s such that every substring of the partition is a palindrome. Return the minimum cuts needed for a palindrome partitioning of s. Example 1: Input: s = "aab" Output: ...

Thu Nov 18 2021
LeetCode Algorithm DP Hard
  • Privacy Policy