1246. Palindrome Removal
Description
**Input:** arr = [1,2]
**Output:** 2**Input:** arr = [1,3,4,1,5]
**Output:** 3
**Explanation:** Remove [4] then remove [1,3,1] then remove [5].ac
Last updated
**Input:** arr = [1,2]
**Output:** 2**Input:** arr = [1,3,4,1,5]
**Output:** 3
**Explanation:** Remove [4] then remove [1,3,1] then remove [5].Last updated