1960. Maximum Product of the Length of Two Palindromic Substrings
Description
**Input:** s = "ababbb"
**Output:** 9
**Explanation:** Substrings "aba" and "bbb" are palindromes with odd length. product = 3 * 3 = 9.**Input:** s = "zaaaxbbby"
**Output:** 9
**Explanation:** Substrings "aaa" and "bbb" are palindromes with odd length. product = 3 * 3 = 9.ac
Previous1959. Minimum Total Space Wasted With K Resizing OperationsNext1961. Check If String Is a Prefix of Array
Last updated