Optimal Disjoint Palindrome Selection — Coding problem | OneNoughtOne