interview - substring palindrome - remove unused import