Leetcode 1745. Palindrome Partitioning IV
Determine whether the string s can be split at two positions into three non-empty substrings that are all palindromes — equivalently, whether there exist two cut points making each segment a palindrome; note n ≤ 2000 so efficient palindrome checks (precomputation or center expansion) are needed.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.