Leetcode 1745. Palindrome Partitioning IV | Hello Interview