Got same tech question, and 2 algo tasks. It was very calm and chill, they do not try to fail you, you can ask for help if you do not know how to solve problem.
I applied online. The process took 4 weeks. I interviewed at Yandex in Feb 2023
Interview
contest + 2 algo interviews (backend), after that interviews with teams to the pass the contest, you should solve 3+ tasks reference doesn't help for frontend/android you will have 1 technical + 1 algo
firstly swift interview, then coding interview and lastly team matching. everything is online. swift interview was about basic swift like class vs structure and reference counter, coding interview consisted of two task which you could have written in any language
Interview questions [1]
Question 1
two tasks about arrays. one about finding a subsequence with given sum and other about finding which elements from girliest array are not in the second one or something like this