Yandex Interview Question

Palindrome, Anagrams, binary search