Given a string
true if it is possible to split the string
s into three non-empty palindromic substrings. Otherwise, return
A string is said to be palindrome if it the same string when reversed.
Input: s = "abcbdd" Output: true Explanation: "abcbdd" = "a" + "bcb" + "dd", and all three substrings are palindromes.
Input: s = "bcbddxy" Output: false Explanation: s cannot be split into 3 palindromes.
3 <= s.length <= 2000
s consists only of lowercase English letters.