Microsoft interview question

Codility test and then technical interview