Yandex Interview Question

There were questions about time and space complexity