Leetcode 2472. Maximum Number of Non-overlapping Palindrome Substrings | Hello Interview