solved [valid palindrome]