Question d’entretien chez Yandex

Find if string a contains string b as palindrome