Yandex interview question

Find if string a contains string b as palindrome