nagato1208 / nagato1208.github.io

For my blog
2 stars 0 forks source link

leetcode-1246-Palindrome Removal | Nagato's blog #54

Open nagato1208 opened 4 years ago

nagato1208 commented 4 years ago

https://nagato1208.github.io/2019/11/02/leetcode-1246-Palindrome-Removal/#more

描述(搬运)Given an integer array arr, in one move you can select a palindromic subarray arr[i], arr[i+1], ..., arr[j] where i <= j, and remove that subarray from the given array. Note that after removi