Leetcode 1246. Palindrome Removal | Hello Interview