TRIOLOGY interview question

greedy ,valid palindrome ,binary search